summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-10-16 23:25:00 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-10-16 23:25:00 +0200
commitbb85be28137ca2a822eb8164421072d8a088661e (patch)
tree15c1f039e982760c4708c950c76b8f378646d375 /Bugzilla/Config
parent7d0b9d75d0c57661729ff931ee283675016b53f2 (diff)
downloadbugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.gz
bugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.xz
Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Auth.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Config/Auth.pm b/Bugzilla/Config/Auth.pm
index a61cab5a2..d70c1f81e 100644
--- a/Bugzilla/Config/Auth.pm
+++ b/Bugzilla/Config/Auth.pm
@@ -97,6 +97,12 @@ sub get_param_list {
},
{
+ name => 'webservice_email_filter',
+ type => 'b',
+ default => 0
+ },
+
+ {
name => 'emailregexp',
type => 't',
default => q:^[\\w\\.\\+\\-=]+@[\\w\\.\\-]+\\.[\\w\\-]+$:,