forked from rDrama/rDrama
better error message
parent
c78380ff35
commit
28d334e5b6
|
@ -240,7 +240,7 @@ def sign_up_post(v):
|
||||||
), 400
|
), 400
|
||||||
|
|
||||||
if username.title() in GIRL_NAMES_TOTAL:
|
if username.title() in GIRL_NAMES_TOTAL:
|
||||||
return signup_error("An account with that username already exists!")
|
return signup_error("This name is reserved for a site award.")
|
||||||
|
|
||||||
submitted_token = session.get("signup_token", "")
|
submitted_token = session.get("signup_token", "")
|
||||||
if not submitted_token:
|
if not submitted_token:
|
||||||
|
|
Loading…
Reference in New Issue