Skip to content

Commit

Permalink
fix: not checking existing email when resetting password
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1n1s authored Jun 2, 2024
1 parent 2ccc5f4 commit edd2ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const verifyWithEmail = async (email: string, scope: string) => {
params: {
email,
scope,
check: true
check: scope !== 'reset'
}
})
return z
Expand Down

0 comments on commit edd2ab9

Please sign in to comment.