Fix "forget password" back bug.

This commit is contained in:
Yang Luo
2021-06-04 01:21:53 +08:00
parent 1cb5ae54c5
commit 7434d0f3d3
2 changed files with 6 additions and 4 deletions

View File

@ -270,7 +270,7 @@ export function goToForget(ths, application) {
if (authConfig.appName === application.name) {
goToLinkSoft(ths, "/forget");
} else {
if (application.signupUrl === "") {
if (application.forgetUrl === "") {
goToLinkSoft(ths, `/forget/${application.name}`);
} else {
goToLink(application.forgetUrl);