@extends('auth.layout') {{-- The one code-entry screen for the whole system. Account verification after signup and password reset ask for exactly the same thing — a six-digit code that was emailed — so they share this view instead of keeping two near-identical copies that drift apart. The caller passes $purpose ('register' or 'reset'); everything else is derived. --}} @php $isReset = ($purpose ?? 'register') === 'reset'; $action = $isReset ? route('password.verifyToken') : route('register.verifyToken'); @endphp @section('title') {{ ___('auth.otp_page_title') }} @endsection @section('brand_heading')
{{ ___('auth.verify_brand_subtitle') }}
@endsection @section('form') @if($isReset){{ $isReset ? ___('auth.otp_intro_reset') : ___('auth.verify_form_intro') }} {{ session('email') }}.
{{ ___('auth.verify_resend_text') }} {{ ___('auth.verify_resend_link') }}
@endsection