@php $label = 'mb-1.5 block font-mono text-[11px] uppercase tracking-wider text-ink-3'; $field = 'h-11 w-full rounded-md border border-line bg-inset px-3 text-ink placeholder:text-ink-4 focus:border-accent/40 focus:outline-none'; $err = 'mt-1.5 flex items-center gap-1.5 font-mono text-[11px] text-offline'; $mail = $this->mailEnabled(); // With SMTP the inline 2FA form is the secondary path (revealed via toggle); without it, it is the only path. $showCode = $mail ? $showCodeReset : true; @endphp

{{ __('auth.security') }}

{{ __('auth.forgot_heading') }}

{{ $mail ? __('auth.forgot_subtitle_mail') : __('auth.forgot_subtitle') }}

@if ($mail) {{-- SMTP configured: e-mail reset link is the default path. --}}
@error('email')

{{ $message }}

@enderror
{{ __('auth.forgot_send_email') }} {{ __('auth.saving') }}
@unless ($showCode) @endunless @endif @if ($showCode) {{-- Inline 2FA-proof reset (email + TOTP/backup code + new password). --}}
@error('email')

{{ $message }}

@enderror
@error('code')

{{ $message }}

@enderror

{{ __('auth.forgot_code_hint') }}

@error('password')

{{ $message }}

@enderror
{{ __('auth.forgot_submit') }} {{ __('auth.saving') }}
@endif {{ __('auth.back_to_login') }}