mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Finish the prompt page logic.
This commit is contained in:
@ -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}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user