From 428abdc670d2cef0ec016d06551ac76050275f69 Mon Sep 17 00:00:00 2001 From: anna Date: Mon, 29 Jul 2024 15:23:53 +0800 Subject: [PATCH] on iamsmart fail page --- src/pages/authentication/ForgotPassword/AuthCallback/index.js | 4 ++-- src/pages/authentication/ForgotUsername/AuthCallback/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/authentication/ForgotPassword/AuthCallback/index.js b/src/pages/authentication/ForgotPassword/AuthCallback/index.js index d458bcb..07cf5b1 100644 --- a/src/pages/authentication/ForgotPassword/AuthCallback/index.js +++ b/src/pages/authentication/ForgotPassword/AuthCallback/index.js @@ -115,11 +115,11 @@ const Index = () => { onFail: (response)=>{ console.log("Fail"); console.log(response); - // window.location.assign("/iamsmart/loginFail"); + window.location.assign("/iamsmart/loginFail"); }, onError:(error)=>{ console.log(error); - // window.location.assign("/iamsmart/loginFail"); + window.location.assign("/iamsmart/loginFail"); } }); } diff --git a/src/pages/authentication/ForgotUsername/AuthCallback/index.js b/src/pages/authentication/ForgotUsername/AuthCallback/index.js index 7aa9879..dbe9b55 100644 --- a/src/pages/authentication/ForgotUsername/AuthCallback/index.js +++ b/src/pages/authentication/ForgotUsername/AuthCallback/index.js @@ -119,11 +119,11 @@ const Index = () => { onFail: (response)=>{ console.log("Fail"); console.log(response); - // window.location.assign("/iamsmart/loginFail"); + window.location.assign("/iamsmart/loginFail"); }, onError:(error)=>{ console.log(error); - // window.location.assign("/iamsmart/loginFail"); + window.location.assign("/iamsmart/loginFail"); } }); }