Commit 0e31cb40d3998f8bad3e0a1e35985e28ef825e19
1 parent
492dc82c
Exists in
spb-stable
and in
3 other branches
require public email with oauth provider message
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/devise/sessions/_oauth_providers.html.haml
@@ -2,10 +2,11 @@ | @@ -2,10 +2,11 @@ | ||
2 | - if providers.present? | 2 | - if providers.present? |
3 | %hr | 3 | %hr |
4 | %div{:'data-no-turbolink' => 'data-no-turbolink'} | 4 | %div{:'data-no-turbolink' => 'data-no-turbolink'} |
5 | - %span Sign in with: | 5 | + %span Sign in with*: |
6 | - providers.each do |provider| | 6 | - providers.each do |provider| |
7 | %span | 7 | %span |
8 | - if default_providers.include?(provider) | 8 | - if default_providers.include?(provider) |
9 | = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) | 9 | = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) |
10 | - else | 10 | - else |
11 | = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" | 11 | = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" |
12 | + %small * Make sure your email address is public |