diff options
author | lpsolit%gmail.com <> | 2010-01-05 09:32:53 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2010-01-05 09:32:53 +0100 |
commit | 100d27e81e15f7bd8ebc1a892b238c4004d4486f (patch) | |
tree | 71f0be1ac7e8bc03e3a6c661b9331b013f6b674e /template/en | |
parent | f170f68df81a531091578baca25c789076a3c467 (diff) | |
download | bugzilla-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.tmpl | 6 |
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 "[% username FILTER html %]": - <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. |