@php($passwordErrors = $errors->updatePassword) {{-- Posts to the existing password route, which also signs out the other devices. --}}
@csrf @method('PUT') @foreach ([ ['current_password', 'Current Password', 'current-password', null], ['password', 'New Password', 'new-password', 8], ['password_confirmation', 'Confirm New Password', 'new-password', 8], ] as [$field, $label, $autocomplete, $minLength])
$passwordErrors->has($field)]) @if ($passwordErrors->has($field)) aria-describedby="account-{{ $field }}-error" @endif> @if ($passwordErrors->has($field))
{{ $passwordErrors->first($field) }}
@endif
@endforeach

Two-factor sign-in and signed-in devices