fix section divider display on auth page (#9966)

This commit is contained in:
Bernardo De Marco Gonçalves 2024-11-28 13:45:20 -03:00 committed by GitHub
parent a2690e9864
commit c56fc7f81c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
} }
}) })
}, },