Skip to content
Snippets Groups Projects

inherit require 2fa for all subgroups and projects

All threads resolved!
Compare and Show latest version
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -605,7 +605,11 @@ def expects_other_user_to_require_two_factors
group.update!(require_two_factor_authentication: true, two_factor_grace_period: 23)
expect(calls).to eq 2
if Group.supports_nested_objects?
expect(calls).to eq 2
else
expect(calls).to eq 1
end
end
it 'calls #update_two_factor_requirement on each group member' do
Loading