diff --git a/TFR/server/account.py b/TFR/server/account.py index 457df68..badb41b 100644 --- a/TFR/server/account.py +++ b/TFR/server/account.py @@ -128,9 +128,7 @@ def post_password_reset(): if not check_password_hash(user.password, current): error.append("Current password is incorrect!") if len(new) < 8: - error.append( - "New password is too short! Must be at least 8 characters long." - ) + error.append("New password is too short! Must be at least 8 characters long.") if new != confirm: error.append("New passwords do not match!") @@ -184,4 +182,4 @@ def post_delete_account(): flash("Successfully deleted account!", "success") logout_user() - return redirect(url_for("auth.auth")) \ No newline at end of file + return redirect(url_for("auth.auth"))