mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-26 16:45:49 +03:00
[GH-ISSUE #189] verifyKeyNewer #317
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#317
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 @roelfilweb on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/189
How exactly to used "verifyKeyNewer" I always getting a "false" value on my timestamp when using this:
$timestamp = $google2fa->verifyKeyNewer($this->google2fa, $password, $this->google2fa_ts);
var_dump($timestamp);
@George2281337 commented on GitHub (Nov 29, 2023):
Your oldTimestamp value exceeds the initial time and must pass 0 and update subsequent values in the database and pass them already