summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi1
1 files changed, 1 insertions, 0 deletions
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());