This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new c56fc7f81c7 fix section divider display on auth page (#9966)
c56fc7f81c7 is described below

commit c56fc7f81c762a8ecdec2e445ed3d9a2c7b73337
Author: Bernardo De Marco Gonçalves <[email protected]>
AuthorDate: Thu Nov 28 13:45:20 2024 -0300

    fix section divider display on auth page (#9966)
---
 ui/src/views/auth/Login.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/auth/Login.vue b/ui/src/views/auth/Login.vue
index 8503f71082b..e2d3ee4c746 100644
--- a/ui/src/views/auth/Login.vue
+++ b/ui/src/views/auth/Login.vue
@@ -289,7 +289,6 @@ export default {
         if (response) {
           const oauthproviders = 
response.listoauthproviderresponse.oauthprovider || []
           oauthproviders.forEach(item => {
-            this.socialLogin = true
             if (item.provider === 'google') {
               this.googleprovider = item.enabled
               this.googleclientid = item.clientid
@@ -301,6 +300,7 @@ export default {
               this.githubredirecturi = item.redirecturi
             }
           })
+          this.socialLogin = this.googleprovider || this.githubprovider
         }
       })
     },

Reply via email to