fix(auth): show the reset-success status on the login page

Both reset paths flash a `status` and redirect to login, but it was never
rendered. Show it as a success banner so the user gets confirmation their
password changed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat/v1-foundation
boban 2026-06-14 17:10:24 +02:00
parent 2ff2cc34c0
commit 197e6f7e49
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@
<p class="font-mono text-xs text-ink-3">{{ __('auth.login_subtitle') }}</p>
</div>
@if (session('status'))
<div class="flex items-start gap-2.5 rounded-md border border-online/25 bg-online/10 px-4 py-3">
<x-icon name="shield" class="mt-0.5 h-4 w-4 shrink-0 text-online" />
<p class="text-sm text-ink-2">{{ session('status') }}</p>
</div>
@endif
<form wire:submit="authenticate" class="space-y-4">
<div>
<label for="email" class="{{ $label }}">{{ __('auth.email') }}</label>