From 8ba9aab35113728eb7e775737d8e0e34e381c7c5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 28 Jun 2022 06:51:34 +0200 Subject: [PATCH] fix WPD's bug --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/login.py b/files/routes/login.py index 2bf72c13e..ed6105468 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -349,7 +349,7 @@ def sign_up_post(v): except Exception as e: print(e) - g.db.flush() + g.db.commit() check_for_alts(new_user.id)