Commit f2253db0 authored by Priyan Sureshbabu's avatar Priyan Sureshbabu

Adds steps for disabling 2fa for single user

parent 9a0f518f
......@@ -557,10 +557,17 @@ end
### Skip reconfirmation
```ruby
user = User.find_by_username '<username>'
user = User.find_by_username('<username>')
user.skip_reconfirmation!
```
### Disable 2fa for single user
```ruby
user = User.find_by_username('<username>')
user.disable_two_factor!
```
### Active users & Historical users
```ruby
......
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