Skip to content

Commit

Permalink
security irl
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Aug 8, 2024
1 parent 68a4055 commit 70a76ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/usecases/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async def update_password(
user_feedback="User not found.",
)

if security.check_osu_password(
if not security.check_osu_password(
untrusted_password=current_password,
hashed_password=user.hashed_password,
):
Expand All @@ -176,7 +176,7 @@ async def update_email_address(
user_feedback="User not found.",
)

if security.check_osu_password(
if not security.check_osu_password(
untrusted_password=current_password,
hashed_password=user.hashed_password,
):
Expand Down

0 comments on commit 70a76ab

Please sign in to comment.