Skip to content

Commit c56fc7f

Browse files
fix section divider display on auth page (#9966)
1 parent a2690e9 commit c56fc7f

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
@@ -289,7 +289,6 @@ export default {
289289
if (response) {
290290
const oauthproviders = response.listoauthproviderresponse.oauthprovider || []
291291
oauthproviders.forEach(item => {
292-
this.socialLogin = true
293292
if (item.provider === 'google') {
294293
this.googleprovider = item.enabled
295294
this.googleclientid = item.clientid
@@ -301,6 +300,7 @@ export default {
301300
this.githubredirecturi = item.redirecturi
302301
}
303302
})
303+
this.socialLogin = this.googleprovider || this.githubprovider
304304
}
305305
})
306306
},

0 commit comments

Comments
 (0)