From 7f7417ddbf38225aa13ab0c742fbe49964068766 Mon Sep 17 00:00:00 2001 From: Yassir <89664951+Abstargo@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:11:38 +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)