mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 06:32:56 +08:00
feat: fix bug that logging in with account/password cannot redirect successfully (When Casdoor working as a OAuth server) (#1819)
This commit is contained in:
@@ -353,7 +353,7 @@ class LoginPage extends React.Component {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (res.status === "ok") {
|
if (res.status === "ok") {
|
||||||
callback();
|
callback(res);
|
||||||
} else if (res.status === NextMfa) {
|
} else if (res.status === NextMfa) {
|
||||||
this.setState({
|
this.setState({
|
||||||
getVerifyTotp: () => {
|
getVerifyTotp: () => {
|
||||||
|
Reference in New Issue
Block a user