require public email with oauth provider message

This commit is contained in:
Job van der Voort 2014-03-19 14:01:13 +01:00
parent 492dc82ced
commit 0e31cb40d3

View file

@ -2,10 +2,11 @@
- if providers.present?
%hr
%div{:'data-no-turbolink' => 'data-no-turbolink'}
%span Sign in with:  
%span Sign in with*:  
- providers.each do |provider|
%span
- 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"
%small * Make sure your email address is public