summaryrefslogtreecommitdiff
path: root/public/views/shared
diff options
context:
space:
mode:
authorSheogorath2018-01-26 10:42:06 +0100
committerSheogorath2018-01-26 10:46:22 +0100
commite44751b3f136e7a438b1379a8d865bdff6cf235e (patch)
tree9b0b22e6310c0cd4b6ad6e84af91f9de97caac31 /public/views/shared
parent0138911274cec46e83ebb3adc08c85f341d6b81e (diff)
Fix ldap provider name in template
Before this fix it's impossible to set the provider name in the sign-model since `ldap` is a boolean there and this way not able to have an attribute like `ldap.providerName`. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r--public/views/shared/signin-modal.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/shared/signin-modal.ejs b/public/views/shared/signin-modal.ejs
index 7b44cfb0..ce01c739 100644
--- a/public/views/shared/signin-modal.ejs
+++ b/public/views/shared/signin-modal.ejs
@@ -52,7 +52,7 @@
<hr>
<% }%>
<% if(ldap) { %>
- <h4>Via <% if (ldap.providerName) { %> <%- ldap.providerName %> (LDAP) <% } else { %> LDAP <% } %></h4>
+ <h4>Via <% if (ldapProviderName) { %> <%= ldapProviderName %> (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">