mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-26 00:25:52 +03:00
[GH-ISSUE #103] verifyKey returning false everytime. #47
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#47
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 @gautam-jha on GitHub (Apr 9, 2018).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/103
This is my code, i am unable to figure out why $vaild is returning false every time.
@nztim commented on GitHub (Apr 9, 2018):
Because the secret key given to the user is not the same as the one it is verified against.
You'll need to save the secret key given to the user so you can verify the user submission against it.