Skip to content

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

@idanbenezra

Description

@idanbenezra

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions