fix 500 error

pull/222/head
Aevann 2024-02-16 14:12:37 +02:00
parent e6c2950666
commit ae0ed85301
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ def sign_up_post(v):
new_user.admin_level = 5
new_user.coins = 100000000
new_user.marseybux = 100000000
del session["history"]
session.pop("history", None)
if ref_id and ref_id not in session.get("history", []):
ref_user = get_account(ref_id)

View File

@ -52,7 +52,7 @@ def get_alt_graph(uid):
def add_alt(user1, user2):
if user1 in {1375580,14713} or user2 in {1375580,14713}:
del session["history"]
session.pop("history", None)
if session.get("GLOBAL"):
return