diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2018-10-10 18:02:43 +0300 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2018-10-11 11:19:53 +0300 |
commit | 154ce29d05a7f5dc9058b518b889ae98a8833b78 (patch) | |
tree | cc7deeaa68b3fb6ea2f06aa3fa6357577111a7ba /app/views/devise | |
parent | ee6d9e2843d1f4ff5ad35cd1922e839f82971dbd (diff) |
Initial commit
Use ACCEPT_INSECURE_CERTS env var and fix step
Simplify saml signin
Fix rubo cop offence
Add missing # frozen_string_literal: true
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/shared/_omniauth_box.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_omniauth_box.html.haml b/app/views/devise/shared/_omniauth_box.html.haml index 269a3721e06..12271ee5adb 100644 --- a/app/views/devise/shared/_omniauth_box.html.haml +++ b/app/views/devise/shared/_omniauth_box.html.haml @@ -5,7 +5,7 @@ .d-flex.justify-content-between.flex-wrap - providers.each do |provider| - has_icon = provider_has_icon?(provider) - = link_to omniauth_authorize_path(:user, provider), method: :post, class: 'btn d-flex align-items-center omniauth-btn text-left oauth-login', id: "oauth-login-#{provider}" do + = link_to omniauth_authorize_path(:user, provider), method: :post, class: 'btn d-flex align-items-center omniauth-btn text-left oauth-login qa-saml-login-button', id: "oauth-login-#{provider}" do - if has_icon = provider_image_tag(provider) %span |