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

new.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: dbc8eda61961b8cae837da916870e0a67d47f51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- page_title "Sign in"
%div
  - if signin_enabled? || ldap_enabled?
    = render 'devise/shared/signin_box'

  -# Omniauth fits between signin/ldap signin and signup and does not have a surrounding box
  - if Gitlab.config.omniauth.enabled && devise_mapping.omniauthable?
    .clearfix.prepend-top-20
      = render 'devise/shared/omniauth_box'

  -# Signup only makes sense if you can also sign-in
  - if signin_enabled? && signup_enabled?
    .prepend-top-20
      = render 'devise/shared/signup_box'

  -# Show a message if none of the mechanisms above are enabled
  - if !signin_enabled? && !ldap_enabled? && !(Gitlab.config.omniauth.enabled && devise_mapping.omniauthable?)
    %div
      No authentication methods configured.