From 0dde4c81c533fcaf3e5166926e4a46211d1f552d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 4 Aug 2022 22:34:51 +0200 Subject: [PATCH] sneed --- files/helpers/wrappers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 26dc596c1..a6e5db021 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -82,9 +82,6 @@ def get_logged_in_user(): if f'{v}, {ip}' not in f.read(): t = str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(time.time()))) f.write(f'{f.read()}{v}, {ip}, {t}\n') - - if not v and request.path not in ('/login','/signup'): abort(401) - return v def check_ban_evade(v):