diff --git a/labertasche/settings/__init__.py b/labertasche/settings/__init__.py index b52d2bb..29e32ea 100644 --- a/labertasche/settings/__init__.py +++ b/labertasche/settings/__init__.py @@ -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()