Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation not works properly if timestep was given in hours or days #5

Open
nishanthvasu opened this issue Aug 16, 2021 · 0 comments

Comments

@nishanthvasu
Copy link

Hi @johnnymongiat,

If i give time step as hours or days by converting to milliseconds, it was not validating properly(For example if i generate otp at today 8 Am and it was expiring at day after tomorrow 5:30 AM (GMT time)) and also it takes the time zone calculation as well. Request you to update the code in this issue. I have used HMACSHA512 algorithm with 6 digits. Tried with 30 days but its validating less than 30 days only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant