mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-05 03:17:02 +00:00
:rage4:
This commit is contained in:
+1
-1
@@ -31,5 +31,5 @@ echo '<style>
|
||||
</style>';
|
||||
|
||||
// google authenticator
|
||||
$qr = (new QRCode)->getMinimumQRCode('otpauth://totp/test?secret=B3JX4VCVJDVNXNZ5&issuer=chillerlan.net', QRConst::ERROR_CORRECT_LEVEL_M);
|
||||
$qr = new QRCode('otpauth://totp/test?secret=B3JX4VCVJDVNXNZ5&issuer=chillerlan.net', QRConst::ERROR_CORRECT_LEVEL_M);
|
||||
echo $qr->printHTML();
|
||||
|
||||
Reference in New Issue
Block a user