From ac7317d519d803a99347f61f9e125190fe6764cf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 3 Aug 2022 01:18:44 +0200 Subject: [PATCH] sneed --- files/helpers/wrappers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 4a1e11b97..a7a561931 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -83,8 +83,7 @@ def get_logged_in_user(): 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 != '/login' and SITE != 'watchpeopledie.co': - abort(401) + if not v and request.path not in ('/login','signup'): abort(401) return v