Allow displaying LDAP provider name on sign-in modal

This commit is contained in:
neopostmodern
2017-01-09 12:49:23 +01:00
parent b13635aac9
commit ff545b2688
3 changed files with 7 additions and 2 deletions

View File

@@ -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">