forked from MarseyWorld/MarseyWorld
signup: don't accidentally leak *what* validation error it was
parent
711518d942
commit
519a9f91f8
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue