@extends('layouts.auth') @section('title', __('auth.verify_title') . ' — ' . config('app.name')) @section('form') @php $length = (int) config('smartcarb.otp.length', 6); $minutes = (int) ceil((int) config('smartcarb.otp.ttl_seconds') / 60); $masked = substr($phone, 0, 4) . str_repeat('*', max(0, strlen($phone) - 7)) . substr($phone, -3); @endphp {{ __('auth.portal_login') }}

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

{{ __('auth.verify_intro', ['length' => $length, 'phone' => $masked, 'minutes' => $minutes]) }}

@if (session('debug_code'))
Local environment: {{ session('debug_code') }} Shown only when APP_ENV=local. In production the code is SMS-only.
@endif
@csrf
@error('code')

{{ $message }}

@enderror
@csrf
{{ __('auth.change_number') }}
@if ($cooldown > 0)

{!! __('auth.resend_in', ['seconds' => '' . $cooldown . '']) !!}

@endif @endsection