Closed lyragosa closed 8 years ago
See https://github.com/PHPGangsta/GoogleAuthenticator/pull/15; you need to correctly encode the values before encoding the entire url as well.
The $title / issuer parameter has been added in March 2015 by @yanniks: https://github.com/PHPGangsta/GoogleAuthenticator/blob/022046934a85217739b4e7610a37fcc8ffdf986e/PHPGangsta/GoogleAuthenticator.php#L102
im lazy to submit code so i just write this issue. sorry for it.
That is the modify
i add $title parameter, and use the key 'issuer=' . this parameter make the phone app show your website name in the top of the random code instead of in the bottom.