Skip to content
Snippets Groups Projects

inherit require 2fa for all subgroups and projects

All threads resolved!
Compare and Show latest version
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -410,7 +410,7 @@ def group_clusters_enabled?
def update_two_factor_requirement
return unless require_two_factor_authentication_changed? || two_factor_grace_period_changed?
User.from_union([users_with_descendants, project_users_with_descendants]).find_each(&:update_two_factor_requirement)
[users_with_descendants, project_users_with_descendants].each {|set| set.find_each(&:update_two_factor_requirement)}
end
def path_changed_hook
Loading