mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
feat: fix the bug that spin in oauth is always showing (#1421)
This commit is contained in:
parent
b8b915abe1
commit
da69d94445
@ -96,6 +96,7 @@ class LoginPage extends React.Component {
|
||||
AuthBackend.getApplicationLogin(oAuthParams)
|
||||
.then((res) => {
|
||||
if (res.status === "ok") {
|
||||
this.onUpdateApplication(res.data);
|
||||
this.setState({
|
||||
application: res.data,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user