From 9d96fc82fdd1398c827c9a03e7d38e112296fb24 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Sun, 18 Jan 2026 13:14:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Add=20logic=20to=20hand?= =?UTF-8?q?le=20`authError`=20type=20conversion=20in=20Livewire=20login=20?= =?UTF-8?q?component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/livewire/auth/login.blade.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/views/livewire/auth/login.blade.php b/resources/views/livewire/auth/login.blade.php index a5738af..33ae6c5 100644 --- a/resources/views/livewire/auth/login.blade.php +++ b/resources/views/livewire/auth/login.blade.php @@ -42,6 +42,17 @@ class extends Component { public ?string $authError = null; + /** + * Handle authError property type conversion. + * Ensure array values from frontend are converted to string or null. + */ + public function updatedAuthError(mixed $value): void + { + if (is_array($value) && empty($value)) { + $this->authError = null; + } + } + public function mount(): void { $this->currentLangCountry = session('lang_country') ?? 'de-DE';