diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-07-04 13:06:47 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-07-04 13:06:47 +0000 |
commit | 1b0bf2880374307e9669cfd4ed32cfe6677a3503 (patch) | |
tree | 746c628e4cedc108473e340e2a19c5c0d323c225 /app/models/group.rb | |
parent | aa20cd9ec210df7de884482be3e4d93936cd31ab (diff) | |
download | redmine-1b0bf2880374307e9669cfd4ed32cfe6677a3503.tar.gz redmine-1b0bf2880374307e9669cfd4ed32cfe6677a3503.zip |
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
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index a84f8650f..a1fd35602 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -41,6 +41,7 @@ class Group < Principal safe_attributes( 'name', + 'twofa_required', 'user_ids', 'custom_field_values', 'custom_fields', |