@php $strengthColor = match (true) { $strength >= 4 => '#16a34a', $strength === 3 => '#d97706', $strength === 2 => '#ea580c', default => '#da291c', }; $strengthLabel = match (true) { $strength >= 4 => 'Strong password', $strength === 3 => 'Good — add a symbol or more length', $strength === 2 => 'Fair — mix in numbers and symbols', default => 'Weak password', }; @endphp
@include('livewire.auth.includes.logo')
Set a new password
Create a strong password you haven't used before.
@for ($i = 1; $i <= 4; $i++)
@endfor
{{ $strengthLabel }}
@error('password'){{ $message }}@enderror
@error('confirm_password'){{ $message }}@enderror
Back to sign in
@script @endscript