Found the culprit,

This commit is contained in:
Domeniko Gentner 2021-01-15 19:52:21 +01:00
parent 52b4ab5647
commit 0473c590a4

View File

@ -25,7 +25,7 @@ def hash_password(password, secret=None):
secret = Secret()
h = pbkdf2_hmac('sha512',
password=password.encode('utf8'),
salt=secret.key.encode('utf8'),
salt=secret.encode('utf8'),
iterations=250000)
return h.hex()