summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-02-04 09:32:22 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-02-04 09:32:22 +0000
commit1350e3ae37be6768d5a24dfe69aaf08f63fa79a9 (patch)
tree1db635d55ca73c7152bab52f1f7be3456846214e /app/views
parent49f9502d73c105b4355a6480083c6cb32ee8389b (diff)
parentb57cf4ae3ff3f39c69f6076f4bd10dafb4a238ea (diff)
downloadgitlab-ce-1350e3ae37be6768d5a24dfe69aaf08f63fa79a9.tar.gz
Merge branch 'if-7693-smartcard_ldap_integration-ee_backport' into 'master'
Backport of ee/9235: Add LDAP integration to smartcard authentication See merge request gitlab-org/gitlab-ce!24704
Diffstat (limited to 'app/views')
-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"