No need for QR code border

This commit is contained in:
Pinga 2024-02-26 15:27:24 +02:00
parent 63960eb57d
commit 5831b2d7db

View file

@ -29,7 +29,7 @@ class ProfileController extends Controller
$db = $container->get('db');
$qrCodeProvider = new BaconQRCodeProvider($borderWidth = 4, $backgroundColour = '#ffffff', $foregroundColour = '#000000', $format = 'svg');
$qrCodeProvider = new BaconQRCodeProvider($borderWidth = 0, $backgroundColour = '#ffffff', $foregroundColour = '#000000', $format = 'svg');
$tfa = new TwoFactorAuth(
issuer: "Namingo",
qrcodeprovider: $qrCodeProvider,