From a8c72c4d3b30aa45a587a846d825235f5e8fc8a5 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Tue, 2 Apr 2002 06:52:37 +0000 Subject: Remaining pieces of Bug 23067 from yesterday... no idea why the first commit didn't pick these up. --- createaccount.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index ecf3a68f6..aaec3b679 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -65,7 +65,7 @@ if (defined($login)) { CheckEmailSyntax($login); $vars->{'login'} = $login; - if (DBname_to_id($login) != 0) { + if (!ValidateNewUser($login)) { # Account already exists $template->process("admin/account_exists.tmpl", $vars) || DisplayError("Template process failed: " . $template->error()); -- cgit v1.2.3-24-g4f1b