mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +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") {
|
||||
callback();
|
||||
callback(res);
|
||||
} else if (res.status === NextMfa) {
|
||||
this.setState({
|
||||
getVerifyTotp: () => {
|
||||
|
Reference in New Issue
Block a user