summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-04-02 08:52:37 +0200
committerjustdave%syndicomm.com <>2002-04-02 08:52:37 +0200
commita8c72c4d3b30aa45a587a846d825235f5e8fc8a5 (patch)
tree7200e87785413e4e8104860ea10ff394e716d108 /createaccount.cgi
parent0e583bdb0923a962fcef1af39896398862e13077 (diff)
downloadbugzilla-a8c72c4d3b30aa45a587a846d825235f5e8fc8a5.tar.gz
bugzilla-a8c72c4d3b30aa45a587a846d825235f5e8fc8a5.tar.xz
Remaining pieces of Bug 23067 from yesterday... no idea why the first commit didn't pick these up.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi2
1 files changed, 1 insertions, 1 deletions
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());