Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
GitLab.com
GitLab Support Team
toolbox
snippets
Issues
#26
Disable 2FA on a user
user
=
User
.
find_by_username
(
'username'
)
user
.
disable_two_factor!