@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif
Profile Picture
@if ($errors->has('avatar'))
{{ $errors->first('avatar') }}
@endif

{{ Auth::user()->name }}

{{ Auth::user()->email }}

{{ __(strtoupper(Auth::user()->level)) }}
{{ auth()->user()->devices()->count() }}
{{__('Devices')}}
{{ auth()->user()->campaigns()->count() }}
{{__('Campaigns')}}
{{ auth()->user()->tickets()->count() }}
{{__('Tickets')}}
@csrf
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{__('Change Password')}}
@csrf
@if ($errors->has('current'))
{{ $errors->first('current') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
{{__('Two-Factor Authentication')}}
{{__('Authenticator App')}}

{{__('Secure your account with an authentication app')}}

user()->two_factor_enabled) checked @endif onclick="document.getElementById('toggleTwoFactorForm').submit()">
@csrf
@if (auth()->user()->two_factor_enabled)
{{__('Recovery Codes')}}

{{__('Store these recovery codes in a secure password manager. They can be used to recover access to your account if you lose your device.')}}

@foreach(json_decode(auth()->user()->recovery_codes) as $code)
{{ $code }}
@endforeach
@else

{{__('Two-factor authentication adds an extra layer of security to your account by requiring more than just a password to sign in.')}}

@endif
{{__('Message History')}}
@csrf
{{__('Days')}}
{{__('Messages older than the selected period will be automatically deleted from your history.')}}
{{__('Appearance')}}