This commit is contained in:
Aevann1 2021-12-31 00:54:00 +02:00
parent 425b991946
commit c3cf5ecaeb

View file

@ -584,7 +584,7 @@ def verifiedcolor(v):
@validate_formkey
def settings_security_post(v):
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"):
return render_template("settings_security.html", v=v, error="Passwords do not match.")