forked from MarseyWorld/MarseyWorld
sneed
parent
5aff344efe
commit
ac7317d519
|
@ -83,8 +83,7 @@ def get_logged_in_user():
|
||||||
t = str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(time.time())))
|
t = str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(time.time())))
|
||||||
f.write(f'{f.read()}{v}, {ip}, {t}\n')
|
f.write(f'{f.read()}{v}, {ip}, {t}\n')
|
||||||
|
|
||||||
if not v and request.path != '/login' and SITE != 'watchpeopledie.co':
|
if not v and request.path not in ('/login','signup'): abort(401)
|
||||||
abort(401)
|
|
||||||
|
|
||||||
return v
|
return v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue