From: Frédéric Buclin Date: Fri, 17 Apr 2015 13:49:55 +0000 (+0200) Subject: Fix regression due to bug 325315: immediately display an error message when account... X-Git-Tag: release-5.1.1~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b57e5e38913097bed1e9d5e86c42a221cbed6611;p=thirdparty%2Fbugzilla.git Fix regression due to bug 325315: immediately display an error message when account creation is disabled --- diff --git a/createaccount.cgi b/createaccount.cgi index cd5309f055..d4aa511c15 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -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());