summaryrefslogtreecommitdiffstats
path: root/template/en/default/index.html.tmpl
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/index.html.tmpl
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/index.html.tmpl')
-rw-r--r--template/en/default/index.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index 07cdf63b5..dccf43f58 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -65,7 +65,9 @@ function addSidebar() {
<a href="relogin.cgi">Logout [% username FILTER html %]</a><br>
[% ELSE %]
<a href="query.cgi?GoAheadAndLogIn=1">Log in to an existing account</a><br>
- <a href="createaccount.cgi">Open a new Bugzilla account</a><br>
+ [% IF Param('createemailregexp') %]
+ <a href="createaccount.cgi">Open a new Bugzilla account</a><br>
+ [% END %]
[% END %]
</p><p>
<a href="javascript:addSidebar()">Add to Sidebar</a> (Requires Mozilla or Netscape 6)<br>