summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Gliga <otzy_007@yahoo.com>2016-05-04 13:37:18 +0300
committerAndrei Gliga <otzy_007@yahoo.com>2016-05-12 13:44:46 +0300
commit28da3a88de339a95d49e171da87494f65219cb21 (patch)
treef4e68671a65b9a7c8b2bfe81831f0a22e7b0b355
parent284eccb5e68c863ea8e1001a24af33dd0da5e201 (diff)
downloadgitlab-ce-28da3a88de339a95d49e171da87494f65219cb21.tar.gz
show only the eanbled oauth providers
-rw-r--r--app/views/devise/shared/_omniauth_box.html.haml2
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 ecf680e7b23..de18bc2d844 100644
--- a/app/views/devise/shared/_omniauth_box.html.haml
+++ b/app/views/devise/shared/_omniauth_box.html.haml
@@ -1,7 +1,7 @@
%p
%span.light
Sign in with &nbsp;
- - providers = button_based_providers
+ - providers = enabled_button_based_providers
- providers.each do |provider|
%span.light
- has_icon = provider_has_icon?(provider)