Commit 4f167ea00e7bf30416e83fc12d2f1aaa74f603b7
Exists in
spb-stable
and in
3 other branches
Merge branch 'oauth-require-public-email' into 'master'
Oauth Require Public Email Does not fix #976 yet, but will reduce the amount of users getting 422 immensly.
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/devise/sessions/_oauth_providers.html.haml
@@ -2,10 +2,12 @@ | @@ -2,10 +2,12 @@ | ||
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 | + %br | ||
13 | + %small * Make sure your email address is public |