mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:12:22 +00:00
rm custom config, fix password reset
This commit is contained in:
@@ -15,8 +15,8 @@ export async function resetPassword(command: ResetPasswordCommand) {
|
||||
|
||||
if (
|
||||
!users.details ||
|
||||
Number(users.details.totalResult) !== 1 ||
|
||||
users.result[0].userId
|
||||
users.details.totalResult !== BigInt(1) ||
|
||||
!users.result[0].userId
|
||||
) {
|
||||
throw Error("Could not find user");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user