Skip to content

Commit 143f79d

Browse files
bernardodemarcodhslove
authored andcommitted
fix section divider display on auth page (apache#9966)
1 parent 9bd5ee8 commit 143f79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/auth/Login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ export default {
318318
if (response) {
319319
const oauthproviders = response.listoauthproviderresponse.oauthprovider || []
320320
oauthproviders.forEach(item => {
321-
this.socialLogin = true
322321
if (item.provider === 'google') {
323322
this.googleprovider = item.enabled
324323
this.googleclientid = item.clientid
@@ -330,6 +329,7 @@ export default {
330329
this.githubredirecturi = item.redirecturi
331330
}
332331
})
332+
this.socialLogin = this.googleprovider || this.githubprovider
333333
}
334334
})
335335
api('forgotPassword', {}).then(response => {

0 commit comments

Comments
 (0)