From edd2ab9e9c8508f32db261cfbc2826d91dacaac6 Mon Sep 17 00:00:00 2001 From: Dest1n1 Date: Sun, 2 Jun 2024 21:42:02 +0800 Subject: [PATCH] fix: not checking existing email when resetting password --- src/apis/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/auth.ts b/src/apis/auth.ts index 72c5ddd..4dffc4c 100644 --- a/src/apis/auth.ts +++ b/src/apis/auth.ts @@ -40,7 +40,7 @@ export const verifyWithEmail = async (email: string, scope: string) => { params: { email, scope, - check: true + check: scope !== 'reset' } }) return z