fix last commit

pull/143/head
Aevann 2023-05-03 23:43:56 +03:00
parent a606d9ed67
commit abb62aefcd
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ def log_failed_admin_login_attempt(account:User, type:str):
def on_login(account, redir=None):
session.permanent = True
session["lo_user"] = account.id
g.v = new_user.id
g.v = account.id
session["login_nonce"] = account.login_nonce
check_for_alts(account, include_current_session=True)