]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix regression due to bug 325315: immediately display an error message when account...
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 17 Apr 2015 13:49:55 +0000 (15:49 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 17 Apr 2015 13:49:55 +0000 (15:49 +0200)
createaccount.cgi

index cd5309f05574d50e3c1acd89bf756de2cad1581d..d4aa511c15660ef24f1e02f6b89fe3058c3c090a 100755 (executable)
@@ -48,6 +48,7 @@ elsif (defined($login)) {
       || ThrowTemplateError($template->error());
 }
 else {
+    $user->check_account_creation_enabled;
     # Show the standard "would you like to create an account?" form.
     $template->process('account/create.html.tmpl', $vars)
       || ThrowTemplateError($template->error());