diff --git a/files/routes/login.py b/files/routes/login.py index e8a6cfa2f..a4aa49ebf 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -157,7 +157,7 @@ def login_post(): def log_failed_admin_login_attempt(account:User, type:str): if not account or account.admin_level < PERMS['SITE_WARN_ON_INVALID_AUTH']: return ip = get_CF() - print(f"Admin user from {ip} failed to login to account {account.user_name} (invalid {type})!") + print(f"Admin user from {ip} failed to login to account @{account.user_name} (invalid {type})!") try: with open(f"/admin_failed_logins", "a+", encoding="utf-8") as f: t = str(time.strftime("%d/%B/%Y %H:%M:%S UTC", time.gmtime(time.time())))