@extends('layouts.app') @section('title', 'Security') @push('styles') @endpush @section('content')

Security

@if(session('success'))
{{ session('success') }}
@endif {{-- Tabs --}}
{{-- Password Tab --}}
Change Password
@csrf
@error('current_password') {{ $message }} @enderror
@error('password') {{ $message }} @enderror

Password must contain:

  • At least 8 characters
  • One uppercase letter
  • One lowercase letter
  • One number
  • One special character (!@#$%^&*)
A verification code will be sent to your account email. Expires in 10 minutes. @error('otp'){{ $message }}@enderror
@csrf
{{-- Transaction PIN Tab --}}
Transaction PIN
PIN Status: {{ auth()->user()->has_pin ?? false ? 'Active' : 'Not Set' }}
{{ auth()->user()->has_pin ?? false ? 'Your transaction PIN is set and active.' : 'You have not set a transaction PIN yet.' }}
PIN is required for wallet operations including transfers, withdrawals, and escrow releases.
@csrf @if(auth()->user()->transaction_pin)
@error('current_pin') {{ $message }} @enderror
@endif
@error('pin') {{ $message }} @enderror
{{-- Two-Factor Auth Tab --}}
@include('auth.partials.two-factor-panel', [ 'twofaEnabled' => $user->hasTwoFactorEnabled(), 'pending2fa' => $pending2fa ?? null, 'confirmRoute' => route('escrow.security.2fa.confirm'), 'disableRoute' => route('escrow.security.2fa.disable'), 'recoveryRoute'=> route('escrow.security.2fa.recovery'), ])
@endsection @push('scripts') @endpush