From d297f88d022f45e4d6341e7eca49049a4947cd8f Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Mon, 9 Dec 2002 08:24:34 +0000 Subject: Bug 86029 create permission restrictions for createaccount.cgi (prevent people from creating accounts) r=burnus a=justdave --- template/en/default/global/user-error.html.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 0d43b62a5..965a3fb27 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -41,6 +41,12 @@ to any [% parameters %] which you may have set before calling ThrowUserError. + [% ELSIF error == "account_creation_disabled" %] + [% title = "Account Creation Disabled" %] + Account self-creation has been disabled or restricted. +
+ New accounts must be created by an administrator. + [% ELSIF error == "account_disabled" %] [% title = "Account Disabled" %] [% disabled_reason %] -- cgit v1.2.3-24-g4f1b