diff --git a/files/routes/login.py b/files/routes/login.py index a20062ca2..f10d8132e 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -42,6 +42,7 @@ def check_for_alts(current_id): try: new_alt = Alt(user1=past_id, user2=current_id) g.db.add(new_alt) + g.db.flush() except BaseException: pass