mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-22 02:54:52 +00:00
style: format code with black
Format code with black This commit fixes the style issues introduced in4d912d3
according to the output from Black. Details:dbebbafb
-114d-4a54-9ece-1c04b2c4f943/
This commit is contained in:
parent
4d912d314c
commit
61cfd92929
1 changed files with 2 additions and 4 deletions
|
@ -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"))
|
||||
return redirect(url_for("auth.auth"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue