From b57e5e38913097bed1e9d5e86c42a221cbed6611 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 17 Apr 2015 15:49:55 +0200 Subject: Fix regression due to bug 325315: immediately display an error message when account creation is disabled --- createaccount.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index cd5309f05..d4aa511c1 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()); -- cgit v1.2.3-24-g4f1b