@extends('layouts.app') @section('title', 'Profile') @push('css') @include('panel.inc.filepond.css') @endpush @section('content') @if(\Laravel\Fortify\Features::enabled(\Laravel\Fortify\Features::updateProfileInformation()))

{{ __('Profile Information') }}

{{ __('Update your account\'s profile information and email address.') }}

@csrf
@if(session('status') == 'profile-information-updated') @endif
{{ $errors->updateProfileInformation->first('name') }}
{{ $errors->updateProfileInformation->first('email') }}

@endif @if(\Laravel\Fortify\Features::enabled(\Laravel\Fortify\Features::updatePasswords()))

{{ __('Update Password') }}

{{ __('Ensure your account is using a long, random password to stay secure.') }}

@csrf
@if(session('status') == 'password-updated') @endif
{{ $errors->updatePassword->first('current_password') }}
{{ $errors->updatePassword->first('password') }}

@endif @if(\Laravel\Fortify\Features::enabled(\Laravel\Fortify\Features::twoFactorAuthentication()))

{{ __('Two Factor Authentication') }}

{{ __('Add additional security to your account using two factor authentication.') }}

@if(session('status') == 'two-factor-authentication-enabled') @endif @if(session('status') == 'two-factor-authentication-disabled') @endif @if(session('status') == 'recovery-codes-generated') @endif

@if (auth()->user()->two_factor_enabled) {{ __('You have enabled two factor authentication.') }} @else {{ __('You have not enabled two factor authentication.') }} @endif

{{ __('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(auth()->user()->two_factor_enabled)

{{ __('Two factor authentication is now enabled. Scan the following QR code using your phone\'s authenticator application.') }}

{!! auth()->user()->twoFactorQrCodeSvg() !!}

{{ __('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 (json_decode(decrypt(auth()->user()->two_factor_recovery_codes), true) as $code)
{{ $code }}
@endforeach
@endif @if(!auth()->user()->two_factor_enabled) @else
@endif

@endif @if(config('session.driver') == "database")

{{ __('Browser Sessions') }}

{{ __('Manage and logout your active sessions on other browsers and devices.') }}

{{ __('If necessary, you may logout 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.') }}

@foreach($sessions as $session)
{{ $session->agent['platform'] }} - {{ $session->agent['browser'] }}
{{ $session->ip_address }}, @if ($session->is_current_device) {{ __('This device') }} @else {{ __('Last active') }} {{ $session->last_active }} @endif
@endforeach
@endif {{--
--}} {{--
--}} {{--

--}} {{-- Delete Account--}} {{--

--}} {{--

--}} {{-- Permanently delete your account.--}} {{--

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} @endsection @push('script') @include('panel.inc.filepond.js') @endpush