Skip to content
Snippets Groups Projects

inherit require 2fa for all subgroups and projects

1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -728,8 +728,7 @@ def all_expanded_groups
end
def expanded_groups_requiring_two_factor_authentication
Group.from_union([all_expanded_groups.where(require_two_factor_authentication: true),
authorized_groups.where(require_two_factor_authentication: true)])
all_expanded_groups.where(require_two_factor_authentication: true)
end
# rubocop: disable CodeReuse/ServiceClass
Loading