From 9f24a8ddc5708d98038173a3040ac49157aafa1d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 13 Oct 2022 14:02:31 +0200 Subject: [PATCH] remove annoyance --- files/helpers/wrappers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 2f890a30c..5a5e1d9dc 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -86,8 +86,6 @@ def get_logged_in_user(): if f'@{v.username}, ' not in f.read(): t = str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(time.time()))) f.write(f'@{v.username}, {v.truecoins}, {ip}, {t}\n') - elif not v and request.path not in ('/login','/signup'): - abort(401) return v