Browse Source

Merge pull request #168 from MarkFChavez/master

Update README
master
Dmitrii Golub 6 years ago committed by GitHub
parent
commit
cab2aaf4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md

1
README.md

@ -395,7 +395,6 @@ to set TOTP to DISABLED for a user account:
current_user.totp_timestamp=nil current_user.totp_timestamp=nil
current_user.direct_otp=nil current_user.direct_otp=nil
current_user.otp_secret_key=nil current_user.otp_secret_key=nil
current_user.otp_confirmed=nil
current_user.save! (if in ruby code instead of console) current_user.save! (if in ruby code instead of console)
current_user.direct_otp? => false current_user.direct_otp? => false
current_user.totp_enabled? => false current_user.totp_enabled? => false

Loading…
Cancel
Save