GoogleAuthenticator icon indicating copy to clipboard operation
GoogleAuthenticator copied to clipboard

Key not recognized

Open shantiwebsolution opened this issue 3 years ago • 0 comments

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).'" />';

shantiwebsolution avatar May 27 '21 10:05 shantiwebsolution