forked from MarseyWorld/MarseyWorld
afsfds
parent
a749a7eea9
commit
32bc1b3c2a
|
@ -360,6 +360,10 @@ def sign_up_post(v):
|
|||
|
||||
if email: send_verification_email(new_user)
|
||||
|
||||
existing_account = get_user(username, graceful=True)
|
||||
if existing_account:
|
||||
return signup_error("An account with that username already exists.")
|
||||
|
||||
g.db.commit()
|
||||
|
||||
check_for_alts(new_user.id)
|
||||
|
|
Loading…
Reference in New Issue