diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2014-03-19 14:01:13 +0100 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2014-03-19 14:01:13 +0100 |
commit | 0e31cb40d3998f8bad3e0a1e35985e28ef825e19 (patch) | |
tree | 3800401b8941e46e7d6325123ce31a8215fb7a70 /app/views/devise | |
parent | 492dc82ced619206aeed7e3aaae393d85a4d3f40 (diff) | |
download | gitlab-ce-0e31cb40d3998f8bad3e0a1e35985e28ef825e19.tar.gz |
require public email with oauth provider message
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/sessions/_oauth_providers.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/devise/sessions/_oauth_providers.html.haml b/app/views/devise/sessions/_oauth_providers.html.haml index 935bc6af505..9a112f56643 100644 --- a/app/views/devise/sessions/_oauth_providers.html.haml +++ b/app/views/devise/sessions/_oauth_providers.html.haml @@ -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 |