mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 06:32:56 +08:00
feat: fix MFA page bug in OAuth login (#1889)
This commit is contained in:
@@ -254,9 +254,10 @@ class PromptPage extends React.Component {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Setting.hasPromptPage(application)) {
|
if (!Setting.hasPromptPage(application) && this.state.promptType !== "mfa") {
|
||||||
return (
|
return (
|
||||||
<Result
|
<Result
|
||||||
|
style={{display: "flex", flex: "1 1 0%", justifyContent: "center", flexDirection: "column"}}
|
||||||
status="error"
|
status="error"
|
||||||
title={i18next.t("application:Sign Up Error")}
|
title={i18next.t("application:Sign Up Error")}
|
||||||
subTitle={i18next.t("application:You are unexpected to see this prompt page")}
|
subTitle={i18next.t("application:You are unexpected to see this prompt page")}
|
||||||
|
Reference in New Issue
Block a user