aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrojanu <aliustek@gmail.com>2011-01-07 15:14:40 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-01-07 15:14:40 +0100
commit02e52f810b396c5f367dc18b162d6a6724cab754 (patch)
tree9429ed4fc89321b9af16fbfbad7583514177786a /Bugzilla/Config
parentBug 255524: The duplicates table inherits no CSS classes when viewed in simpl... (diff)
downloadbugzilla-02e52f810b396c5f367dc18b162d6a6724cab754.tar.gz
bugzilla-02e52f810b396c5f367dc18b162d6a6724cab754.tar.bz2
bugzilla-02e52f810b396c5f367dc18b162d6a6724cab754.zip
Bug 558803: Add a parameter to specify the password complexity for new passwords
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Auth.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Config/Auth.pm b/Bugzilla/Config/Auth.pm
index c7d921ed5..a61cab5a2 100644
--- a/Bugzilla/Config/Auth.pm
+++ b/Bugzilla/Config/Auth.pm
@@ -121,6 +121,15 @@ sub get_param_list {
type => 't',
default => q:.*:,
checker => \&check_regexp
+ },
+
+ {
+ name => 'password_complexity',
+ type => 's',
+ choices => [ 'no_constraints', 'mixed_letters', 'letters_numbers',
+ 'letters_numbers_specialchars' ],
+ default => 'no_constraints',
+ checker => \&check_multi
} );
return @param_list;
}