From 857bb3c4b9a047a12229bf40c69547db1301ed56 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 19 Dec 2021 04:43:05 +0200 Subject: [PATCH] sfdsdf --- files/routes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 6b2b9f7b61..24c1a33579 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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=" +