From 4c44764f4223e8319b6a6dbec5e6c86ce89047b3 Mon Sep 17 00:00:00 2001 From: Sarolta <103893876+Niernen22@users.noreply.github.com> Date: Thu, 2 May 2024 14:19:51 +0200 Subject: [PATCH] Update auth.py --- website/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/auth.py b/website/auth.py index 8c65752e..570c5cd8 100644 --- a/website/auth.py +++ b/website/auth.py @@ -56,7 +56,7 @@ def sign_up(): flash('Password must be at least 7 characters.', category='error') else: new_user = User(email=email, first_name=first_name, password=generate_password_hash( - password1, method='sha256')) + password1, method='pbkdf2:sha256')) db.session.add(new_user) db.session.commit() login_user(new_user, remember=True)