Skip to content

Commit

Permalink
Fix sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdp authored Dec 13, 2019
1 parent 4b22b7e commit 5149825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ the interval window (default 30 seconds)
The following is an example of this in action:

```ruby
User.find(someUserID)
user = User.find(someUserID)
totp = ROTP::TOTP.new(user.otp_secret)
totp.now # => "492039"

Expand Down

0 comments on commit 5149825

Please sign in to comment.