diff options
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 2 |
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()); |