From 60b331bc2a1d89296f5c57df34171db3b3eca409 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 2 Oct 2002 05:41:03 +0000 Subject: Bug 163114 - Templatise all calls to DisplayError. Patch C. Patch by gerv; r=burnus. --- createaccount.cgi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index 13256f47b..37776a780 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -44,11 +44,7 @@ if(Param('useLDAP')) { # Just in case someone already has an account, let them get the correct # footer on the error message quietly_check_login(); - DisplayError("This site is using LDAP for authentication. Please contact - an LDAP administrator to get a new account created.", - "Can't create LDAP accounts"); - PutFooter(); - exit; + ThrowUserError("ldap_cant_create_account"); } # Clear out the login cookies. Make people log in again if they create an -- cgit v1.2.1