Commit 4f167ea00e7bf30416e83fc12d2f1aaa74f603b7

Authored by Dmitriy Zaporozhets
2 parents 303d1311 622bbf96

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.
app/views/devise/sessions/_oauth_providers.html.haml
... ... @@ -2,10 +2,12 @@
2 2 - if providers.present?
3 3 %hr
4 4 %div{:'data-no-turbolink' => 'data-no-turbolink'}
5   - %span Sign in with:  
  5 + %span Sign in with*:  
6 6 - providers.each do |provider|
7 7 %span
8 8 - if default_providers.include?(provider)
9 9 = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
10 10 - else
11 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
... ...