Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Key not recognized #92

Open
shantiwebsolution opened this issue May 27, 2021 · 0 comments
Open

Key not recognized #92

shantiwebsolution opened this issue May 27, 2021 · 0 comments

Comments

@shantiwebsolution
Copy link

Code works perfectly.
While I create QR Code and try to scan with Google authentication app I am getting Key is not recognized error.
Kindly help

Here is my code

require 'vendor/autoload.php'; $username = 'jayesh_d'; $salt = $this->config->item('salt'); $ga = new PHPGangsta_GoogleAuthenticator(); $secret = $username.$salt; echo '<img src="'. $ga->getQRCodeGoogleUrl('', $secret).'" />';

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant