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:
helayzhang 2023-05-08 16:37:56 +08:00 committed by GitHub
parent 50586a9716
commit 3a6846b32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ class LoginPage extends React.Component {
}
};
if (res.status === "ok") {
callback();
callback(res);
} else if (res.status === NextMfa) {
this.setState({
getVerifyTotp: () => {