Refactor backend views
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
import bcrypt
|
||||
|
||||
|
||||
def hash_token(token: str) -> str:
|
||||
"""Hash a token."""
|
||||
pwbytes = token.encode("utf-8")
|
||||
|
||||
Reference in New Issue
Block a user