diff --git a/.gitignore b/.gitignore index e78890cf..18fed30b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode website/__pycache__ -website/database.db \ No newline at end of file +website/database.db +instance/database.db \ No newline at end of file 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)