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
%span.light
Sign in with  
- providers = button_based_providers
- providers = enabled_button_based_providers
- providers.each do |provider|
%span.light
- has_icon = provider_has_icon?(provider)