mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-04-25 02:19:03 +00:00
[Web] Switch QR code generation from external API to local library and fix composer.json/lock mismatch
This commit is contained in:
@@ -47,7 +47,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/CSSminifierExtended.php';
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/lib/array_merge_real.php';
|
||||
|
||||
// T/HOTP API
|
||||
$qrprovider = new RobThree\Auth\Providers\Qr\QRServerProvider();
|
||||
$qrprovider = new RobThree\Auth\Providers\Qr\BaconQrCodeProvider();
|
||||
$tfa = new RobThree\Auth\TwoFactorAuth($OTP_LABEL, 6, 30, 'sha1', $qrprovider);
|
||||
|
||||
// FIDO2
|
||||
|
||||
Reference in New Issue
Block a user