From 0473c590a4809231844efd67dcf0e64c27b99dad Mon Sep 17 00:00:00 2001 From: Domeniko Gentner Date: Fri, 15 Jan 2021 19:52:21 +0100 Subject: [PATCH] Found the culprit, --- labertasche/settings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()