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