Closed hjinu closed 9 years ago
@hjinu I'm checking your PR, meanwhile could you squash your commits and the propers test cases?
@hjinu everything looks good for me, any progress with the test cases?
@robertomiranda I added the test cases! Check it, please.
-- update
There is the error I've made. I'll check it and notify you later. Sorry.
@robertomiranda I don't know why It can't pass the test cases... Sometimes it passes, sometimes it can't pass them. Can you guess what the problem is?
@hjinu you've added has_one_time_password column_name: :otp_token, length: 4, interval: 60
to Visitor Model so you need to include the test cases using @visitor
instead of @user
I added new model for testing, but it has same bug. I think there are some problems about interval. It's occasionally not working. I'll use drift instead of interval.
You can close this PR. Thanks.
@hjinu ok np, anyway maybe could you post an issue in rotp gem?
I need to change the interval of totp. So I added the option for it. Check it, please