You need to make your getQrUrl function URL safe by encoding it as spaces or safe characters in the $details['vendor'] string can cause the QR code generation to fail.
Modify line 53 of TwoFactorAuthController to URLencode the vendor details as follows:
Hi,
You need to make your getQrUrl function URL safe by encoding it as spaces or safe characters in the $details['vendor'] string can cause the QR code generation to fail.
Modify line 53 of TwoFactorAuthController to URLencode the vendor details as follows:
$company = isset(Engagement::$details['vendor']) ? urlencode(Engagement::$details['vendor']) : url()->to('/');
That will resolve this bug