diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-09-15 22:13:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 22:13:18 +0200 |
commit | 78ad8c0d088aa95ec1bd7eadea45ffdba05d907e (patch) | |
tree | 7a218af5d9a553a51b8ddc9a9d609772603fd615 /Bugzilla/Config | |
parent | e9adcde4648b54db8d40f314ca938dca5080bb9c (diff) | |
download | bugzilla-78ad8c0d088aa95ec1bd7eadea45ffdba05d907e.tar.gz bugzilla-78ad8c0d088aa95ec1bd7eadea45ffdba05d907e.tar.xz |
Bug 1364233 - Add setting to force a group to require MFA and restrict users in that group who have not enabled MFA
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Auth.pm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Bugzilla/Config/Auth.pm b/Bugzilla/Config/Auth.pm index 58a3d3cd7..612fd1f3f 100644 --- a/Bugzilla/Config/Auth.pm +++ b/Bugzilla/Config/Auth.pm @@ -183,6 +183,21 @@ sub get_param_list { type => 't', default => '', }, + + { + name => 'mfa_group', + type => 's', + choices => \&get_all_group_names, + default => '', + checker => \&check_group, + }, + + { + name => 'mfa_group_grace_period', + type => 't', + default => '7', + checker => \&check_numeric, + } ); return @param_list; } @@ -234,4 +249,4 @@ sub _check_passwdqc_random_bits { return ""; } -1; +1;
\ No newline at end of file |