mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix section divider display on auth page (#9966)
This commit is contained in:
parent
a2690e9864
commit
c56fc7f81c
@ -289,7 +289,6 @@ export default {
|
|||||||
if (response) {
|
if (response) {
|
||||||
const oauthproviders = response.listoauthproviderresponse.oauthprovider || []
|
const oauthproviders = response.listoauthproviderresponse.oauthprovider || []
|
||||||
oauthproviders.forEach(item => {
|
oauthproviders.forEach(item => {
|
||||||
this.socialLogin = true
|
|
||||||
if (item.provider === 'google') {
|
if (item.provider === 'google') {
|
||||||
this.googleprovider = item.enabled
|
this.googleprovider = item.enabled
|
||||||
this.googleclientid = item.clientid
|
this.googleclientid = item.clientid
|
||||||
@ -301,6 +300,7 @@ export default {
|
|||||||
this.githubredirecturi = item.redirecturi
|
this.githubredirecturi = item.redirecturi
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.socialLogin = this.googleprovider || this.githubprovider
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user