Add edit password

This commit is contained in:
Zoe Roux
2025-04-05 15:42:38 +02:00
parent dbe8e319c8
commit 31d545530b
7 changed files with 253 additions and 2 deletions
+5
View File
@@ -43,3 +43,8 @@ where s.user_pk = u.pk
returning
s.*;
-- name: ClearOtherSessions :exec
delete from sessions as s using users as u
where s.user_pk = u.pk
and s.id != @session_id
and u.id = @user_id;