master
Aevann1 2022-08-04 22:34:51 +02:00
parent 1568ec0162
commit 0dde4c81c5
1 changed files with 0 additions and 3 deletions

View File

@ -82,9 +82,6 @@ def get_logged_in_user():
if f'{v}, {ip}' not in f.read(): if f'{v}, {ip}' not in f.read():
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 not in ('/login','/signup'): abort(401)
return v return v
def check_ban_evade(v): def check_ban_evade(v):