summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorMax Wu2017-01-09 23:17:55 +0800
committerGitHub2017-01-09 23:17:55 +0800
commit258a59a77d390196a66acfbd5dd49ea66c5f18f9 (patch)
tree3324acedf1e0d70ee82c40381e04ef097a0d50a7 /public/views
parentb13635aac9d42996d0ac9b9b7dcbdf94102c7abe (diff)
parentff545b268871be7b6552638427a59a9a6eac5dd1 (diff)
Merge pull request #316 from neopostmodern/ldap-provider-name
Allow displaying LDAP provider name on sign-in modal
Diffstat (limited to 'public/views')
-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">