From dbc6b0dc45730e0b9daeebf0f44299c7c2e1473a Mon Sep 17 00:00:00 2001 From: DacongDA Date: Sun, 10 Mar 2024 09:55:44 +0800 Subject: [PATCH] feat: fix issue that forget password page fails to redirect back to signin page (#2792) --- web/src/auth/ForgetPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/auth/ForgetPage.js b/web/src/auth/ForgetPage.js index 0f79a678..154f13c0 100644 --- a/web/src/auth/ForgetPage.js +++ b/web/src/auth/ForgetPage.js @@ -156,7 +156,7 @@ class ForgetPage extends React.Component { if (res.status === "ok") { const linkInStorage = sessionStorage.getItem("signinUrl"); if (linkInStorage !== null && linkInStorage !== "") { - Setting.goToLinkSoft(linkInStorage); + Setting.goToLinkSoft(this, linkInStorage); } else { Setting.redirectToLoginPage(this.getApplicationObj(), this.props.history); }