This commit is contained in:
yumoqing 2026-04-26 15:02:32 +08:00
parent 59f68c3141
commit 7b36e2d159

View File

@ -61,7 +61,7 @@ async with get_sor_context(request._run_ns, 'rbac') as sor:
if params_kw.selected_id:
for r in recs:
if r.id == params_kw.selected_id:
now_str = curDateString('%Y-%m-%d %H:%M:%S')
now_str = curDateString()
await sor.sqlExe("""
UPDATE users
SET last_login = ${now}$, login_fail_count = 0,