[GH-ISSUE #189] verifyKeyNewer #317

Closed
opened 2026-03-01 17:49:08 +03:00 by kerem · 1 comment
Owner

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);

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);
kerem closed this issue 2026-03-01 17:49:09 +03:00
Author
Owner

@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

<!-- gh-comment-id:1831621204 --> @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
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#317
No description provided.