summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorneopostmodern2017-01-09 12:49:23 +0100
committerneopostmodern2017-01-09 12:49:23 +0100
commitff545b268871be7b6552638427a59a9a6eac5dd1 (patch)
tree3324acedf1e0d70ee82c40381e04ef097a0d50a7 /public
parentb13635aac9d42996d0ac9b9b7dcbdf94102c7abe (diff)
Allow displaying LDAP provider name on sign-in modal
Diffstat (limited to '')
-rw-r--r--public/views/signin-modal.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/signin-modal.ejs b/public/views/signin-modal.ejs
index 7c52e0f3..e9c54b33 100644
--- a/public/views/signin-modal.ejs
+++ b/public/views/signin-modal.ejs
@@ -42,7 +42,7 @@
<hr>
<% }%>
<% if(ldap) { %>
- <h4>Via LDAP</h4>
+ <h4>Via <% if (ldap.providerName) { %> <%- ldap.providerName %> (LDAP) <% } else { %> LDAP <% } %></h4>
<form data-toggle="validator" role="form" class="form-horizontal" method="post" enctype="application/x-www-form-urlencoded">
<div class="form-group">
<div class="col-sm-12">