diff options
author | Luc Didry <luc@didry.org> | 2016-11-03 17:29:35 +0100 |
---|---|---|
committer | Luc Didry <luc@didry.org> | 2016-11-10 17:24:42 +0100 |
commit | 45c9d1e7bbc8d86a1a4f22dfd910dd7aacf42a1a (patch) | |
tree | cd3b75e9c7a791d59f648728f2529109dd456e78 /app/views/devise/shared/_tabs_ldap.html.haml | |
parent | 87cc458a22e0cf91ca5ffe5b988077ec41e59404 (diff) | |
download | gitlab-ce-45c9d1e7bbc8d86a1a4f22dfd910dd7aacf42a1a.tar.gz |
Fix no "Register" tab if ldap auth is enabled (#24038)
This commit is dedicated to GuilhemB, thanks for supporting me on Tipeee
:-)
Diffstat (limited to 'app/views/devise/shared/_tabs_ldap.html.haml')
-rw-r--r-- | app/views/devise/shared/_tabs_ldap.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/devise/shared/_tabs_ldap.html.haml b/app/views/devise/shared/_tabs_ldap.html.haml index 1e957f0935f..aec1b31ce62 100644 --- a/app/views/devise/shared/_tabs_ldap.html.haml +++ b/app/views/devise/shared/_tabs_ldap.html.haml @@ -8,3 +8,6 @@ - if signin_enabled? %li = link_to 'Standard', '#ldap-standard', 'data-toggle' => 'tab' + - if signin_enabled? && signup_enabled? + %li + = link_to 'Register', '#register-pane', 'data-toggle' => 'tab' |