mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: change password repository lookup (#19584)
This commit is contained in:
parent
a2a9797fab
commit
09cbc5d3f4
4 changed files with 29 additions and 26 deletions
|
|
@ -97,6 +97,16 @@ where
|
|||
"users"."id" = $1
|
||||
and "users"."deletedAt" is null
|
||||
|
||||
-- UserRepository.getForChangePassword
|
||||
select
|
||||
"users"."id",
|
||||
"users"."password"
|
||||
from
|
||||
"users"
|
||||
where
|
||||
"users"."id" = $1
|
||||
and "users"."deletedAt" is null
|
||||
|
||||
-- UserRepository.getByEmail
|
||||
select
|
||||
"id",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue