forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-08-01 02:43:17 +02:00
parent 739268774f
commit db72908da6
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +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 SITE != 'watchpeopledie.co':
if not v and request.path != '/login' and SITE != 'watchpeopledie.co':
abort(401)
return v