From 785cea9c4c0acf4e29757b5d08819cfbb6ac5f02 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 27 Jun 2022 02:49:30 +0200 Subject: [PATCH] fix 500 eror on signup --- files/routes/login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/login.py b/files/routes/login.py index 48afef4e8..2bf72c13e 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -349,10 +349,10 @@ def sign_up_post(v): except Exception as e: print(e) - check_for_alts(new_user.id) - g.db.flush() + check_for_alts(new_user.id) + send_notification(new_user.id, WELCOME_MSG) session["lo_user"] = new_user.id