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

$totp->now() return invalid token #8

Open
idanbenezra opened this issue May 17, 2016 · 1 comment
Open

$totp->now() return invalid token #8

idanbenezra opened this issue May 17, 2016 · 1 comment

Comments

@idanbenezra
Copy link

Hello,

$totp->now() return invalid token when token is starting with zero.
for example:

if the token is 041934
the function returns the token without the zero (41934)

@Spomky
Copy link

Spomky commented Jun 21, 2016

From https://github.com/lelag/otphp/blob/master/README.markdown

Note : This project has not been updated since it was created. If you need a PHP OTP library, you should check out the great fork by Spomky-Labs at https://github.com/Spomky-Labs/otphp which has been improved and is currently maintained.

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

2 participants