From 1b0bf2880374307e9669cfd4ed32cfe6677a3503 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 4 Jul 2021 13:06:47 +0000 Subject: When 2FA is set to optional, allow to require 2FA only for certain user groups (#31920). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21060 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/group.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models/group.rb') 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', -- cgit v1.2.3