fix unbanning for inactivity ban resets last seen

This commit is contained in:
2026-07-12 17:23:08 +02:00
parent 8bb9a14773
commit 88b25ab251

View File

@@ -507,7 +507,8 @@ export default (router, tpl) => {
update "user"
set banned = false,
ban_reason = null,
ban_expires = null
ban_expires = null,
last_seen = ${~~(Date.now() / 1e3)}
where id = ${+user_id}
`;