From 60058c51308043caa7d4df899d2402442d40573c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 26 May 2022 00:02:18 +0200 Subject: [PATCH] fsd --- 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 f5650460f..50f627a32 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -337,7 +337,7 @@ def sign_up_post(v): ) g.db.add(new_user) - g.db.flush() + g.db.commit() if ref_id: ref_user = g.db.query(User).filter_by(id=ref_id).one_or_none()