Skip to content
Snippets Groups Projects

inherit require 2fa for all subgroups and projects

All threads resolved!
Compare and
5 files
+ 108
25
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 1
1
@@ -413,7 +413,7 @@ def project_creation_level
def update_two_factor_requirement
return unless saved_change_to_require_two_factor_authentication? || saved_change_to_two_factor_grace_period?
users.find_each(&:update_two_factor_requirement)
User.from_union([users_with_descendants, project_users_with_descendants]).find_each(&:update_two_factor_requirement)
end
def path_changed_hook
Loading