summaryrefslogtreecommitdiffstats
path: root/lib/TwoFactorAuth.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/TwoFactorAuth.php')
-rw-r--r--lib/TwoFactorAuth.php2
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)