sfdsdf
This commit is contained in:
parent
53942c142a
commit
568fdea47a
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ def verifiedcolor(v):
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def settings_security_post(v):
|
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(
|
if request.values.get(
|
||||||
"new_password") != request.values.get("cnf_password"):
|
"new_password") != request.values.get("cnf_password"):
|
||||||
return redirect("/settings/security?error=" +
|
return redirect("/settings/security?error=" +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue