Commit 4daba5d9 authored by Tom Atkins's avatar Tom Atkins

Merge branch 'documentation-rails-cheetsheet-group-disable-2fa' into 'master'

Documentation: Rails CheetSheet - disable group's 2FA requirement

See merge request gitlab-org/gitlab!49926
parents 8f2e32d5 d3863d93
......@@ -578,6 +578,17 @@ group = Group.find_by_path_or_name('group-name')
group.project_creation_level=0
```
### Modify group - disable 2FA requirement
WARNING:
When disabling the 2FA Requirement on a subgroup, the whole parent group (including all subgroups) is affected by this change.
```ruby
group = Group.find_by_path_or_name('group-name')
group.require_two_factor_authentication=false
group.save
```
## SCIM
### Fixing bad SCIM identities
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment