Skip to content

Instantly share code, notes, and snippets.

@robertomiranda
Created July 11, 2013 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertomiranda/0fd2d0a7472d01b0f697 to your computer and use it in GitHub Desktop.
Save robertomiranda/0fd2d0a7472d01b0f697 to your computer and use it in GitHub Desktop.
user.authenticate_otp('186522') # => true
sleep 30 # lets wait again
user.authenticate_otp('186522', drift: 60) # => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment