From b9d9b0eec81318a99a82e04ec603dadee38ba2e5 Mon Sep 17 00:00:00 2001 From: vfilippov Date: Fri, 6 Mar 2009 11:52:50 +0000 Subject: [PATCH] Bug 47074 Autoregister On/Off parameter git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@144 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- Bugzilla/Config/UserMatch.pm | 9 ++++++++- template/en/default/admin/params/usermatch.html.tmpl | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Config/UserMatch.pm b/Bugzilla/Config/UserMatch.pm index 819247e99..53fee2998 100644 --- a/Bugzilla/Config/UserMatch.pm +++ b/Bugzilla/Config/UserMatch.pm @@ -64,7 +64,14 @@ sub get_param_list { name => 'confirmuniqueusermatch', type => 'b', default => 1, - } ); + }, + + { + name => 'emailin_autoregister', + type => 's', + default => 1, + }, + ); return @param_list; } diff --git a/template/en/default/admin/params/usermatch.html.tmpl b/template/en/default/admin/params/usermatch.html.tmpl index 178a72844..7481e20fb 100644 --- a/template/en/default/admin/params/usermatch.html.tmpl +++ b/template/en/default/admin/params/usermatch.html.tmpl @@ -41,5 +41,9 @@ "A value of zero means no limit.", confirmuniqueusermatch => "Whether a confirmation screen should be displayed when only " _ - "one user matches a search entry." } + "one user matches a search entry.", + + emailin_autoregister => "Whether an unknown e-mail address should be converted into an " _ + "automatically registered disabled user account when processing incoming emails by email_in.pl", +} %]