Commit 9337da78 authored by Robert Speicher's avatar Robert Speicher

Revert "Merge pull request #9812 from chrspeich/hide-tabs-lone-auth-provider"

This reverts commit 84999611, reversing
changes made to 0d9fb211.
parent 3777b233
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
%h3 Sign in %h3 Sign in
.login-body .login-body
- if form_based_providers.any? - if form_based_providers.any?
- if form_based_providers.count >= 2 || signin_enabled?
%ul.nav.nav-tabs %ul.nav.nav-tabs
- if crowd_enabled? - if crowd_enabled?
%li.active %li.active
...@@ -28,13 +27,6 @@ ...@@ -28,13 +27,6 @@
- if signin_enabled? - if signin_enabled?
%div#tab-signin.tab-pane %div#tab-signin.tab-pane
= render 'devise/sessions/new_base' = render 'devise/sessions/new_base'
- else
- if crowd_enabled?
= render 'devise/sessions/new_crowd'
- elsif @ldap_servers.any?
= render 'devise/sessions/new_ldap', server: @ldap_servers.first
- elsif signin_enabled?
= render 'devise/sessions/new_base'
- elsif signin_enabled? - elsif signin_enabled?
= render 'devise/sessions/new_base' = render 'devise/sessions/new_base'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment