summaryrefslogtreecommitdiffstats
path: root/defparams.pl
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 /defparams.pl
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 'defparams.pl')
-rw-r--r--defparams.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl
index 3e4807dc2..fc3fe8245 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -694,6 +694,19 @@ You will get this message once a day until you\'ve dealt with these bugs!
},
{
+ name => 'createemailregexp',
+ desc => 'This defines the regexp to use for email addresses that are ' .
+ 'permitted to self-register using a "New Account" feature. The ' .
+ 'default (.*) permits any account matching the emailregexp ' .
+ 'to be created. If this parameter is left blank, no users ' .
+ 'will be permitted to create their own accounts and all accounts ' .
+ 'will have to be created by an administrator',
+ type => 't',
+ default => q:.*:,
+ checker => \&check_regexp
+ },
+
+ {
name => 'voteremovedmail',
desc => 'This is a mail message to send to anyone who gets a vote removed ' .
'from a bug for any reason. %to% gets replaced by the person who ' .