summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-12-09 09:24:34 +0100
committerbugreport%peshkin.net <>2002-12-09 09:24:34 +0100
commitd297f88d022f45e4d6341e7eca49049a4947cd8f (patch)
tree9a8e4388fda40b9d75bcc74b4ddd8cdc9b144e98 /template/en/default/global
parent2e6c635d3fb541baa8ed376c2c09a99bc6844dcb (diff)
downloadbugzilla-d297f88d022f45e4d6341e7eca49049a4947cd8f.tar.gz
bugzilla-d297f88d022f45e4d6341e7eca49049a4947cd8f.tar.xz
Bug 86029 create permission restrictions for createaccount.cgi (prevent people from creating accounts)
r=burnus a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/useful-links.html.tmpl4
-rw-r--r--template/en/default/global/user-error.html.tmpl6
2 files changed, 9 insertions, 1 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index e172a0f55..fac714b0e 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -121,7 +121,9 @@
[% ELSE %]
<td valign="middle" align="right">
- <a href="createaccount.cgi">New&nbsp;Account</a> |
+ [% IF Param('createemailregexp') %]
+ <a href="createaccount.cgi">New&nbsp;Account</a> |
+ [% END %]
<a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
</td>
</tr>
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.
+ <hr>
+ New accounts must be created by an administrator.
+
[% ELSIF error == "account_disabled" %]
[% title = "Account Disabled" %]
[% disabled_reason %]