fix 500 eror on signup

master
Aevann1 2022-06-27 02:49:30 +02:00
parent f48b16d0ca
commit 785cea9c4c
1 changed files with 2 additions and 2 deletions

View File

@ -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