From 70eb21091d161fe0325000af992f6f398683c92a Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Mon, 17 Jun 2002 16:38:56 +0000 Subject: Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called early enough r=mattyt, jouni --- createaccount.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index ff07da782..577ab8dba 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -42,6 +42,9 @@ ConnectToDatabase(); # If we're using LDAP for login, then we can't create a new account here. 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"); -- cgit v1.2.3-24-g4f1b