mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-13 10:52:28 -04:00
Add edit password
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user