signup: don't accidentally leak *what* validation error it was

master
justcool393 2022-11-15 12:59:38 -06:00
parent 711518d942
commit 519a9f91f8
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ def sign_up_post(v):
return signup_error("There was a problem. Please try again.")
if not hmac.compare_digest(correct_formkey, form_formkey):
return signup_error("There was a problem. Please try again!")
return signup_error("There was a problem. Please try again.")
if not request.values.get(
"password") == request.values.get("password_confirm"):