diff options
author | Rob Janssen <rob@devcorner.nl> | 2016-06-24 17:50:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 17:50:15 +0200 |
commit | ab6b059df52c33f63fda239a9d1f9b84daf8d91f (patch) | |
tree | 4f369d20b86115d55efabe4b41225b9b49e52e11 | |
parent | cdb98dc598adb87399b97023b74beee88f64da27 (diff) | |
parent | aec91881bfbd5f9710656ea97c10a8826eadf9f4 (diff) | |
download | TwoFactorAuth-ab6b059df52c33f63fda239a9d1f9b84daf8d91f.zip TwoFactorAuth-ab6b059df52c33f63fda239a9d1f9b84daf8d91f.tar.gz TwoFactorAuth-ab6b059df52c33f63fda239a9d1f9b84daf8d91f.tar.bz2 |
Merge pull request #7 from JonathanTru/master
changed getQRText() from private to public
-rw-r--r-- | lib/TwoFactorAuth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TwoFactorAuth.php b/lib/TwoFactorAuth.php index e70d1d8..e30b711 100644 --- a/lib/TwoFactorAuth.php +++ b/lib/TwoFactorAuth.php @@ -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) |