master
Aevann1 2021-12-19 04:43:05 +02:00
parent d17b7211e6
commit 857bb3c4b9
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ def verifiedcolor(v):
@auth_required
@validate_formkey
def settings_security_post(v):
if request.values.get("new_password") and user_id not in (PW1_ID,PW2_ID):
if request.values.get("new_password") and v.id not in (PW1_ID,PW2_ID):
if request.values.get(
"new_password") != request.values.get("cnf_password"):
return redirect("/settings/security?error=" +