forked from MarseyWorld/MarseyWorld
fix 500 eror on signup
parent
f48b16d0ca
commit
785cea9c4c
|
@ -349,10 +349,10 @@ def sign_up_post(v):
|
||||||
except Exception as e: print(e)
|
except Exception as e: print(e)
|
||||||
|
|
||||||
|
|
||||||
check_for_alts(new_user.id)
|
|
||||||
|
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
|
check_for_alts(new_user.id)
|
||||||
|
|
||||||
send_notification(new_user.id, WELCOME_MSG)
|
send_notification(new_user.id, WELCOME_MSG)
|
||||||
|
|
||||||
session["lo_user"] = new_user.id
|
session["lo_user"] = new_user.id
|
||||||
|
|
Loading…
Reference in New Issue