forked from MarseyWorld/MarseyWorld
sfdsdf
parent
d17b7211e6
commit
857bb3c4b9
|
@ -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=" +
|
||||
|
|
Loading…
Reference in New Issue