|
|
@ -177,7 +177,7 @@ To add them, generate a migration such as: |
|
|
|
|
|
|
|
|
|
|
|
The `otp_secret_key` is not only required for users who use Google Authentictor, |
|
|
|
The `otp_secret_key` is not only required for users who use Google Authentictor, |
|
|
|
so unless it has been shared with the user it should be set to `nil`. The |
|
|
|
so unless it has been shared with the user it should be set to `nil`. The |
|
|
|
following psudo-code is an example of how this might be done: |
|
|
|
following pseudo-code is an example of how this might be done: |
|
|
|
|
|
|
|
|
|
|
|
```ruby |
|
|
|
```ruby |
|
|
|
User.find_each do |user| do |
|
|
|
User.find_each do |user| do |
|
|
|