Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_oauth_providers.html.haml « sessions « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b1cb9c694f26bc72dfcf512cf5a4b54fbd9f214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- providers = (enabled_oauth_providers - [:ldap])
- if providers.present?
  %hr
  %div{:'data-no-turbolink' => 'data-no-turbolink'}
    %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"
    %br
    %small * Make sure your email address is public