Commit 4715b4e9 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Move OmniAuth sign in box to the top

parent 6dacb506
- page_title "Sign in"
#signin-container
- if omniauth_enabled? && devise_mapping.omniauthable? && button_based_providers_enabled?
%div.append-bottom-default
= render 'devise/shared/omniauth_box'
#signin-container.prepend-top-15
- if form_based_providers.any?
= render 'devise/shared/tabs_ldap'
- else
......@@ -17,7 +21,3 @@
- if !password_authentication_enabled_for_web? && !ldap_enabled? && !(omniauth_enabled? && devise_mapping.omniauthable?)
%div
No authentication methods configured.
- if omniauth_enabled? && devise_mapping.omniauthable? && button_based_providers_enabled?
.clearfix
= render 'devise/shared/omniauth_box'
.omniauth-container.prepend-top-15
.omniauth-container
%label.label-bold.d-block
Sign in with
- providers = enabled_button_based_providers
......
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