Commit d3863d93 authored by Vladimír Brodský's avatar Vladimír Brodský

Update doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md

parent cc0bc406
...@@ -578,6 +578,17 @@ group = Group.find_by_path_or_name('group-name') ...@@ -578,6 +578,17 @@ group = Group.find_by_path_or_name('group-name')
group.project_creation_level=0 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 ## SCIM
### Fixing bad SCIM identities ### 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