From 100d27e81e15f7bd8ebc1a892b238c4004d4486f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 5 Jan 2010 08:32:53 +0000 Subject: Bug 467992: Login fails if the user's LDAP account is denied search in LDAP - Patch by Adam Batkin r/a=mkanat --- template/en/default/global/code-error.html.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'template/en/default/global') 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 %]": - [% errstr FILTER html %] + [% IF errstr %] + [% errstr FILTER html %] + [% ELSE %] + Unable to find user in LDAP + [% END %] [% ELSIF error == "ldap_server_not_defined" %] The LDAP server for authentication has not been defined. -- cgit v1.2.3-24-g4f1b