aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-04-02 06:52:37 +0000
committerjustdave%syndicomm.com <>2002-04-02 06:52:37 +0000
commita8c72c4d3b30aa45a587a846d825235f5e8fc8a5 (patch)
tree7200e87785413e4e8104860ea10ff394e716d108 /createaccount.cgi
parentFix for bug 107513: Makes it possible to change parameters on an installation... (diff)
downloadbugzilla-a8c72c4d3b30aa45a587a846d825235f5e8fc8a5.tar.gz
bugzilla-a8c72c4d3b30aa45a587a846d825235f5e8fc8a5.tar.bz2
bugzilla-a8c72c4d3b30aa45a587a846d825235f5e8fc8a5.zip
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());