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
parent
2ff2cc34c0
commit
197e6f7e49
|
|
@ -11,6 +11,13 @@
|
||||||
<p class="font-mono text-xs text-ink-3">{{ __('auth.login_subtitle') }}</p>
|
<p class="font-mono text-xs text-ink-3">{{ __('auth.login_subtitle') }}</p>
|
||||||
</div>
|
</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">
|
<form wire:submit="authenticate" class="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<label for="email" class="{{ $label }}">{{ __('auth.email') }}</label>
|
<label for="email" class="{{ $label }}">{{ __('auth.email') }}</label>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue