@extends('frontend.user.setting.index')
@section('title', __('Phone Verification'))
@section('user_setting_content')
@php
$isVerified = $user->hasVerifiedPhone();
$isEnabled = $user->hasEnabledPhoneVerification();
@endphp
@include('frontend.user.setting.partials._security_tabs')
@if(empty($user->phone))
{{ __('Use your verified phone as an extra protection layer for sensitive wallet actions like mobile recharge.') }}
{{ $isEnabled ? __('Phone verification is enabled') : __('Phone verification is turned off') }}
{{ $isVerified ? __('This number has already passed code verification.') : __('Receive a short code on your saved phone number.') }}
{{ $isEnabled ? __('Phone verification is active for protected wallet actions.') : __('Enter the latest code to turn protection on.') }}
{{ __('Your number will stay verified, but protected actions will stop requiring phone verification until you enable it again.') }}
{{ __('Request a fresh code for :phone.', ['phone' => $user->phone]) }}
{{ __('Codes expire quickly, so request a new one only when you are ready to enter it.') }}
{{ __('Enter the latest code to enable phone verification for this account.') }}