remotes/1693045480750635534/spooky-22
Aevann1 2022-09-13 11:42:53 +02:00
parent 799f8a465b
commit 71f4e511d6
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def get_logged_in_user():
ip = request.headers.get('CF-Connecting-IP')
if f'@{v.username}, ' 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.username}, {v.truecoins}, {ip}, {t}\n')
f.write(f'@{v.username}, {v.truecoins}, {ip}, {t}\n')
elif not v and request.path not in ('/login','/signup'):
abort(401)