Finish the prompt page logic.

This commit is contained in:
Yang Luo
2021-06-20 09:46:06 +08:00
parent e0b6270f50
commit d3a8ab8347
8 changed files with 175 additions and 79 deletions

View File

@ -97,7 +97,11 @@ class SignupPage extends React.Component {
if (authConfig.appName === application.name) {
return "/result";
} else {
return `/result/${application.name}`;
if (Setting.hasPromptPage(application)) {
return `/prompt/${application.name}`;
} else {
return `/result/${application.name}`;
}
}
}