show only the eanbled oauth providers

This commit is contained in:
Andrei Gliga 2016-05-04 13:37:18 +03:00
parent 284eccb5e6
commit 28da3a88de

View file

@ -1,7 +1,7 @@
%p %p
%span.light %span.light
Sign in with   Sign in with  
- providers = button_based_providers - providers = enabled_button_based_providers
- providers.each do |provider| - providers.each do |provider|
%span.light %span.light
- has_icon = provider_has_icon?(provider) - has_icon = provider_has_icon?(provider)