Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuc Didry <luc@didry.org>2016-11-03 19:29:35 +0300
committerLuc Didry <luc@didry.org>2016-11-10 19:24:42 +0300
commit45c9d1e7bbc8d86a1a4f22dfd910dd7aacf42a1a (patch)
treecd3b75e9c7a791d59f648728f2529109dd456e78 /app/views/devise
parent87cc458a22e0cf91ca5ffe5b988077ec41e59404 (diff)
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')
-rw-r--r--app/views/devise/shared/_tabs_ldap.html.haml3
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'