forked from rDrama/rDrama
fds
parent
a99093a1b3
commit
1c73f16116
|
@ -584,7 +584,7 @@ def verifiedcolor(v):
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def settings_security_post(v):
|
def settings_security_post(v):
|
||||||
if request.values.get("new_password"):
|
if request.values.get("new_password"):
|
||||||
if v.id == PW_ID: abort(403)
|
# if v.id == PW_ID: abort(403)
|
||||||
|
|
||||||
if request.values.get("new_password") != request.values.get("cnf_password"):
|
if request.values.get("new_password") != request.values.get("cnf_password"):
|
||||||
return render_template("settings_security.html", v=v, error="Passwords do not match.")
|
return render_template("settings_security.html", v=v, error="Passwords do not match.")
|
||||||
|
|
Loading…
Reference in New Issue