mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-25 16:15:49 +03:00
[GH-ISSUE #158] Documentation for verifyKeyNewer is very misleading #68
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jhoff on GitHub (Jul 21, 2020).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/158
I think the user that reported https://github.com/antonioribeiro/google2fa/issues/134 experienced the issue because the documentation is misleading:
If
$user->google2fa_tsis set to null ( I.E for a new user ), then$timestampwill be returned astruenot a timestampAlso, it feels really misleading to refer to them as
timestampswhen they are a fraction of a real timestamp ( the quotient of a unix timestamp and the key regeneration value). Because of this I assumed I could makegoogle2fa_tsa timestamp field in the database, when it should simply be an integer. I also tried to set the default value ofgoogle2fa_tstonow()to no avail.@jhoff commented on GitHub (Nov 12, 2020):
This is still a problem, but I'm cleaning house and no longer want to look at it.