@if (session('status'))
@switch(session('status')) @case('profile-updated') Profile updated. @break @case('password-updated') Password changed. @break @case('pin-updated') Transaction PIN updated. @break @case('two-factor-confirmed') Two-factor authentication enabled. @break @case('two-factor-disabled') Two-factor authentication disabled. @break @default Saved. @endswitch
@endif
@foreach (['profile' => 'Profile', 'password' => 'Password', 'pin' => 'Transaction PIN', 'two-factor' => 'Two-Factor Auth'] as $tab => $label) @endforeach
@if ($activeTab === 'profile')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
@elseif ($activeTab === 'password')
@error('current_password')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror
@elseif ($activeTab === 'pin')

{{ $hasPin ? 'Change' : 'Set' }} the 4-digit PIN you'll enter to confirm every purchase. Your current password is required to make this change.

@error('pin_current_password')

{{ $message }}

@enderror
@error('new_pin')

{{ $message }}

@enderror
@elseif ($activeTab === 'two-factor')

We recommend an authenticator app (Google Authenticator, Authy, 1Password, etc.) over email codes — it keeps working even if your email is ever compromised, and doesn't depend on SMS/email delivery.

@if ($twoFactorEnabled)
Two-factor authentication is enabled.
@if ($user->recoveryCodes())
View recovery codes
@foreach ($user->recoveryCodes() as $code) {{ $code }} @endforeach
@endif @elseif ($confirmingTwoFactor)
{!! $user->twoFactorQrCodeSvg() !!}

Scan this QR code with your authenticator app, then enter the 6-digit code it generates.

@error('confirmationCode')

{{ $message }}

@enderror
@else @endif
@endif Identity verification (KYC) →