Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: José Francisco Calvo <[email protected]>
  • Loading branch information
frascuchon and jfcalvo authored Nov 18, 2024
1 parent 97790eb commit 0c10421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions argilla-server/src/argilla_server/contexts/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,12 @@ def generate_user_token(user: User) -> str:
)


_dummy_secret = "dummy_secret"
_dummy_hash = hash_password(_dummy_secret)
_DUMMY_SECRET = "dummy_secret"
_DUMMY_HASH = hash_password(_DUMMY_SECRET)


def _dummy_verify():
verify_password(_dummy_secret, _dummy_hash)
verify_password(_DUMMY_SECRET, _DUMMY_HASH)


def _generate_random_password() -> str:
Expand Down

0 comments on commit 0c10421

Please sign in to comment.