2019-12-21 20:55:43 +05:30
|
|
|
- @hide_breadcrumbs = true
|
2019-12-26 22:10:19 +05:30
|
|
|
- page_title _('Enter Admin Mode')
|
2019-12-21 20:55:43 +05:30
|
|
|
|
|
|
|
.row.justify-content-center
|
2020-04-08 14:13:33 +05:30
|
|
|
.col-md-5.new-session-forms-container
|
2019-12-21 20:55:43 +05:30
|
|
|
.login-page
|
|
|
|
#signin-container
|
2020-05-24 23:13:21 +05:30
|
|
|
- if any_form_based_providers_enabled?
|
|
|
|
= render 'devise/shared/tabs_ldap', show_password_form: allow_admin_mode_password_authentication_for_web?, render_signup_link: false
|
|
|
|
- else
|
2022-07-16 23:28:13 +05:30
|
|
|
= render 'devise/shared/tab_single', tab_title: page_title
|
2019-12-21 20:55:43 +05:30
|
|
|
.tab-content
|
2020-05-24 23:13:21 +05:30
|
|
|
- if allow_admin_mode_password_authentication_for_web? || ldap_sign_in_enabled? || crowd_enabled?
|
|
|
|
= render 'admin/sessions/signin_box'
|
2020-01-01 13:55:28 +05:30
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
-# Show a message if none of the mechanisms above are enabled
|
|
|
|
- if !allow_admin_mode_password_authentication_for_web? && !ldap_sign_in_enabled? && !omniauth_enabled?
|
2020-07-28 23:09:34 +05:30
|
|
|
.gl-mt-3.center
|
2020-05-24 23:13:21 +05:30
|
|
|
= _('No authentication methods configured.')
|
2020-01-01 13:55:28 +05:30
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
- if omniauth_enabled? && button_based_providers_enabled?
|
|
|
|
.clearfix
|
|
|
|
= render 'devise/shared/omniauth_box', hide_remember_me: true
|