mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 07:23:50 +08:00
Fix signup page silent bug for sign-up-without-prompt-items case.
This commit is contained in:
@ -128,9 +128,7 @@ class LoginPage extends React.Component {
|
||||
Setting.goToLinkSoft(ths, `/prompt/${application.name}?redirectUri=${oAuthParams.redirectUri}&code=${code}&state=${oAuthParams.state}`);
|
||||
}
|
||||
} else {
|
||||
if (res.msg !== "Please sign in first") {
|
||||
Setting.showMessage("error", `Failed to sign in: ${res.msg}`);
|
||||
}
|
||||
Setting.showMessage("error", `Failed to sign in: ${res.msg}`);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user