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:
authorImre Farkas <ifarkas@gitlab.com>2019-01-28 00:12:00 +0300
committerImre Farkas <ifarkas@gitlab.com>2019-01-28 00:26:32 +0300
commitb57cf4ae3ff3f39c69f6076f4bd10dafb4a238ea (patch)
treeac5b4b42a8cae0acbc7e20e16d70dfcd55bca5e7 /app/views/devise
parentc2b3f64cb44114e69ddeeb453412ad4dd762baf9 (diff)
Backport of ee/9235: Add LDAP integration to smartcard authentication
Diffstat (limited to 'app/views/devise')
-rw-r--r--app/views/devise/sessions/_new_ldap.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/devise/sessions/_new_ldap.html.haml b/app/views/devise/sessions/_new_ldap.html.haml
index 796c0cadda8..f856773526d 100644
--- a/app/views/devise/sessions/_new_ldap.html.haml
+++ b/app/views/devise/sessions/_new_ldap.html.haml
@@ -1,3 +1,5 @@
+- server = local_assigns.fetch(:server)
+
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do
.form-group
= label_tag :username, "#{server['label']} Username"