Account Settings
{{-- --}}
Personal Information
Full Name
{{ auth()->user()->name }}
Nationality
{{ auth()->user()->nationality }}
Gender
{{ auth()->user()->gender }}
Contact Information
Address
{{ auth()->user()->address }}
@if(!empty(auth()->user()->two_factor_secret) && empty(auth()->user()->two_factor_confirmed_at))
@endif
Two Factor Authentication
@if(empty(auth()->user()->two_factor_secret) && empty(auth()->user()->two_factor_confirmed_at))
Currently not enabled
@else
2FA Enabled
@endif
Add additional security to your account using two factor authentication.

When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone's Google Authenticator application.

@if(!empty(auth()->user()->two_factor_confirmed_at))
Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost.
@foreach(auth()->user()->getRecoveryCodes() as $code)
{{ $loop->iteration }}. {{ $code }}
@endforeach
@endif @if(!empty(auth()->user()->two_factor_secret) && empty(auth()->user()->two_factor_confirmed_at))
To finish enabling two factor authentication, scan the following QR code using your phone's authenticator application or enter the setup key and provide the generated OTP code.
{!! auth()->user()->twoFactorQrCodeSvg() !!}
Or enter this secret key manually
Setup Key: {{ Crypt::decrypt(auth()->user()->two_factor_secret) }}
@endif
Profile Update
@if(!empty(auth()->user()->image) && Storage::disk('public')->exists(str_replace('storage/','',auth()->user()->image))) ... @else ... @endif
Browser Sessions
Manage and log out your active sessions on other browsers and devices.

If necessary, you may log out of all of your other browser sessions across all of your devices. Some of your recent sessions are listed below; however, this list may not be exhaustive. If you feel your account has been compromised, you should also update your password.

@if (count($this->sessions) > 0) @foreach($this->sessions as $session)
{{ $session->agent }}
{{ $session->ip_address }}, @if($session->is_current_device) This Device @else Last active {{ $session->last_active }} @endif
@endforeach @endif
@include('admin.auth.logout-other-browser-sessions')
@script @endscript