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