From 84bee6182fbceeeecf606aed68b77f1e65537522 Mon Sep 17 00:00:00 2001 From: Jason Chuang Date: Sat, 12 Sep 2026 02:23:26 +0800 Subject: [PATCH] CADD 2026 #1 forgot password --- src/pages/authentication/ForgotPassword/AuthCallback/index.js | 3 ++- src/pages/authentication/ForgotUsername/AuthCallback/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/authentication/ForgotPassword/AuthCallback/index.js b/src/pages/authentication/ForgotPassword/AuthCallback/index.js index 5468505c..65a1e0f5 100644 --- a/src/pages/authentication/ForgotPassword/AuthCallback/index.js +++ b/src/pages/authentication/ForgotPassword/AuthCallback/index.js @@ -105,7 +105,8 @@ const Index = () => { url: UrlUtils.POST_FORGOT_PASSWORD_NEW_PASSWORD, params:{ username: username, - newPassword: values.password + newPassword: values.password, + emailVerifyHash: decodeURIComponent(params.verifyCode) }, onSuccess: () => { useJwt diff --git a/src/pages/authentication/ForgotUsername/AuthCallback/index.js b/src/pages/authentication/ForgotUsername/AuthCallback/index.js index 82c84f6e..ed138f6e 100644 --- a/src/pages/authentication/ForgotUsername/AuthCallback/index.js +++ b/src/pages/authentication/ForgotUsername/AuthCallback/index.js @@ -99,7 +99,8 @@ const Index = () => { url: UrlUtils.POST_FORGOT_PASSWORD_NEW_PASSWORD, params:{ username: username, - newPassword: values.password + newPassword: values.password, + emailVerifyHash: decodeURIComponent(params.verifyCode) }, onSuccess: () => { useJwt