]> source.dussan.org Git - redmine.git/commit
When 2FA is set to optional, allow to require 2FA only for certain user groups (...
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 4 Jul 2021 13:06:47 +0000 (13:06 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 4 Jul 2021 13:06:47 +0000 (13:06 +0000)
commit1b0bf2880374307e9669cfd4ed32cfe6677a3503
tree746c628e4cedc108473e340e2a19c5c0d323c225
parentaa20cd9ec210df7de884482be3e4d93936cd31ab
When 2FA is set to optional, allow to require 2FA only for certain user groups (#31920).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21060 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/group.rb
app/models/setting.rb
app/models/user.rb
app/views/groups/_form.html.erb
app/views/settings/_authentication.html.erb
config/locales/en.yml
db/migrate/20210704125704_add_twofa_required_to_groups.rb [new file with mode: 0644]
test/integration/twofa_test.rb