summaryrefslogtreecommitdiff
path: root/app/views/devise/shared/_signin_box.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/shared/_signin_box.html.haml')
-rw-r--r--app/views/devise/shared/_signin_box.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/devise/shared/_signin_box.html.haml b/app/views/devise/shared/_signin_box.html.haml
index 04d33132e91..805cf816231 100644
--- a/app/views/devise/shared/_signin_box.html.haml
+++ b/app/views/devise/shared/_signin_box.html.haml
@@ -27,3 +27,16 @@
- else
%div
No authentication methods configured.
+
+- if Gitlab.config.omniauth.enabled && devise_mapping.omniauthable?
+ .clearfix.prepend-top-20
+ %p
+ %span.light
+ Sign in with  
+ - providers = additional_providers
+ - providers.each do |provider|
+ %span.light
+ - if default_providers.include?(provider)
+ = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
+ - else
+ = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" \ No newline at end of file