diff --git a/src/pages/Auth/forgot-password/ForgotPassword.svelte b/src/pages/Auth/forgot-password/ForgotPassword.svelte index 2898252..6562845 100644 --- a/src/pages/Auth/forgot-password/ForgotPassword.svelte +++ b/src/pages/Auth/forgot-password/ForgotPassword.svelte @@ -66,7 +66,7 @@
- +
{ const urlParams = new URLSearchParams(window.location.search); const accessToken = urlParams.get('accessToken'); - const refreshToken = urlParams.get('refreshToken'); + const refreshToken = urlParams.get('refreshToken'); const source = urlParams.get('source'); const sparrowRedirect = `sparrow://?accessToken=${accessToken}&refreshToken=${refreshToken}&event=${source}&method=google`; diff --git a/src/pages/Auth/reset-password/ResetPassword.svelte b/src/pages/Auth/reset-password/ResetPassword.svelte index e470881..79478d6 100644 --- a/src/pages/Auth/reset-password/ResetPassword.svelte +++ b/src/pages/Auth/reset-password/ResetPassword.svelte @@ -113,7 +113,7 @@
- +
{ - const response = await verifyUserEmail(verifyCodeCredential); - if (response.isSuccessful) { + const response = await verifyUserEmail(verifyCodeCredential); + if (response.isSuccessful) { errorMessageText.set(""); - } else { + } else { isSuccessfulResponse.set(true); if (response.message === 'verificationCode should not be empty') { errorMessageText.set('Please enter the 6-digit verification code.');