From 696dbc9d04ed002c00a5bc32a9356bbb40029167 Mon Sep 17 00:00:00 2001 From: boban Date: Fri, 12 Jun 2026 14:06:56 +0200 Subject: [PATCH] fix(2fa): render the setup QR as (getQRCodeInline returns a data URI) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getQRCodeInline() returns a base64 data URI (data:image/svg+xml;base64,…), not raw SVG — so {!! !!} dumped it as text. Render it via with a light quiet-zone. Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/views/livewire/auth/two-factor-setup.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/auth/two-factor-setup.blade.php b/resources/views/livewire/auth/two-factor-setup.blade.php index efe2273..7cda438 100644 --- a/resources/views/livewire/auth/two-factor-setup.blade.php +++ b/resources/views/livewire/auth/two-factor-setup.blade.php @@ -2,8 +2,10 @@

Zwei-Faktor einrichten

Scanne den Code mit einer Authenticator-App (Aegis, Google Authenticator, …) und bestätige mit einem Code.

-
- {!! $this->qrCode() !!} +
+
+ 2FA-QR-Code +