Skip to content

Commit

Permalink
Fix hasher.verify call argument order.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekitdev committed Feb 20, 2024
1 parent 67c2f25 commit 836bb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melody/kit/clients/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def client_credentials_dependency(
secret_hash = client_info.secret_hash

try:
hasher.verify(client_secret, secret_hash)
hasher.verify(secret_hash, client_secret)

except VerifyMismatchError:
raise AuthClientCredentialsSecretMismatch() from None
Expand Down

0 comments on commit 836bb3d

Please sign in to comment.