2020-07-28 23:09:34 +05:30
|
|
|
- page_title _("Sign in")
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-03-02 22:35:43 +05:30
|
|
|
#signin-container
|
2019-12-26 22:10:19 +05:30
|
|
|
- if any_form_based_providers_enabled?
|
2016-11-03 12:29:30 +05:30
|
|
|
= render 'devise/shared/tabs_ldap'
|
|
|
|
- else
|
2019-12-21 20:55:43 +05:30
|
|
|
- unless experiment_enabled?(:signup_flow)
|
|
|
|
= render 'devise/shared/tabs_normal'
|
2016-11-03 12:29:30 +05:30
|
|
|
.tab-content
|
2019-12-26 22:10:19 +05:30
|
|
|
- if password_authentication_enabled_for_web? || ldap_sign_in_enabled? || crowd_enabled?
|
2016-11-03 12:29:30 +05:30
|
|
|
= render 'devise/shared/signin_box'
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
-# Signup only makes sense if you can also sign-in
|
2018-03-17 18:26:18 +05:30
|
|
|
- if allow_signup?
|
2015-04-26 12:48:37 +05:30
|
|
|
= render 'devise/shared/signup_box'
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
-# Show a message if none of the mechanisms above are enabled
|
2019-12-26 22:10:19 +05:30
|
|
|
- if !password_authentication_enabled_for_web? && !ldap_sign_in_enabled? && !(omniauth_enabled? && devise_mapping.omniauthable?)
|
2015-04-26 12:48:37 +05:30
|
|
|
%div
|
|
|
|
No authentication methods configured.
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
- if omniauth_enabled? && devise_mapping.omniauthable? && button_based_providers_enabled?
|
|
|
|
.clearfix
|
|
|
|
= render 'devise/shared/omniauth_box'
|