summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2010-01-05 09:32:53 +0100
committerlpsolit%gmail.com <>2010-01-05 09:32:53 +0100
commit100d27e81e15f7bd8ebc1a892b238c4004d4486f (patch)
tree71f0be1ac7e8bc03e3a6c661b9331b013f6b674e /template/en
parentf170f68df81a531091578baca25c789076a3c467 (diff)
downloadbugzilla-100d27e81e15f7bd8ebc1a892b238c4004d4486f.tar.gz
bugzilla-100d27e81e15f7bd8ebc1a892b238c4004d4486f.tar.xz
Bug 467992: Login fails if the user's LDAP account is denied search in LDAP - Patch by Adam Batkin <adam@batkin.net> r/a=mkanat
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/global/code-error.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index e851a00d9..2c2eb9891 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -344,7 +344,11 @@
[% ELSIF error == "ldap_search_error" %]
An error occurred while trying to search LDAP for
&quot;[% username FILTER html %]&quot;:
- <code>[% errstr FILTER html %]</code>
+ [% IF errstr %]
+ <code>[% errstr FILTER html %]</code>
+ [% ELSE %]
+ Unable to find user in LDAP
+ [% END %]
[% ELSIF error == "ldap_server_not_defined" %]
The LDAP server for authentication has not been defined.