fix logged-out users getting ratelimited when trying to access logged-in endpoints

master
Aevann 2023-08-13 18:30:54 +03:00
parent ca1b13638b
commit aff15f2de4
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def get_ID():
elif session.get("lo_user"):
x = session.get("lo_user")
else:
x = "logged_out"
x = f"logged_out-{g.nonce}"
return f'{SITE}-{x}'