mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-19 08:02:35 +00:00
Merge pull request #7 from JonathanTru/master
changed getQRText() from private to public
This commit is contained in:
@@ -159,7 +159,7 @@ class TwoFactorAuth
|
||||
/**
|
||||
* Builds a string to be encoded in a QR code
|
||||
*/
|
||||
private function getQRText($label, $secret)
|
||||
public function getQRText($label, $secret)
|
||||
{
|
||||
return 'otpauth://totp/' . rawurlencode($label)
|
||||
. '?secret=' . rawurlencode($secret)
|
||||
|
||||
Reference in New Issue
Block a user