From ce4d2ada9e60ea370829c83d9ff08d0d05d6bd31 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 23 Sep 2022 14:36:10 +0200 Subject: [PATCH] fix the @tax situation --- files/routes/login.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/login.py b/files/routes/login.py index 61e9e2aa3..a9137f60b 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -23,6 +23,9 @@ def login_get(v): def check_for_alts(current): current_id = current.id + if current_id in (1691,6790): + session["history"] = [] + return ids = [x[0] for x in g.db.query(User.id).all()] past_accs = set(session.get("history", []))