@extends('adminlte::page') @section('title', config('app.name') . ' | ' . __('Account Settings')) @section('content_header')

{{__('My Profile')}} / {{__('Account')}} / {{__('Settings')}}

@stop @section('js') @stop @section('css') @stop @section('content') @if ($demoActive)

{{ __('This feature is disabled') }}

@endif

{{ __('Deleting your account is an irreversible process. The following data will be deleted (including personally identifiable data):') }}

{{ __('What is not deleted:') }}

{{ __("Note: After you verify your identity, you'll receive an email with more information asking you to confirm or cancel this request.") }}

{{ __('Your account will be locked during this process.') }}

@csrf @method('PATCH') {{ __('For your security, your password is always required for sensitive operations.') }} {{ __('You cannot recover lost 2FA secrets.') }}
@if (!Auth::user()->has2FA()) @if($demoActive)

{{ __('This feature is disabled') }}

@endif

{{__("We're glad you decided to increase your account's security!")}}

{{__('Supported apps you can install:')}}

{{__('Scan the QR code with your preferred app, and then copy the code here.')}}

{!! $twofaQRCode !!}
@csrf @method('PATCH')
@endif @if (Auth::user()->has2FA())

{{__('Are you sure?')}} {{__('Removing two-factor authentication will reduce the security of your account.')}}

@csrf @method('PATCH')

{{__('To prevent unauthorized changes, a password is always required for sensitive operations.')}}

{{__('Click to Confirm')}}
@endif

{{__('Welcome back, :userNameValue!', ['userNameValue' => Auth::user()->name])}}

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

@if(session('passwordExpired'))

{{ __('Your password has expired') }}

{{ __("You've been redirected here because your password has expired. All users must change their password every :numDaysChangePw days. This is put in place to make sure user accounts remain secure.", ['numDaysChangePw' => \App\Facades\Options::getOption('password_expiry')]) }}

{{ __("Please change update your password now. You won't be able to use the site until you do this.") }}

@endif
@if($demoActive)

{{ __('This feature is disabled') }}

@endif @if (Auth::user()->hasDiscordConnection())
{{ __('Your :appName account is linked to Discord', ['appName' => config('app.name')]) }}

{!! __('Your account is linked to Discord, which means you only need your Discord account credentials and two-factor code (if enabled) to sign in. If you would like to change your password, you will need to do so in your Discord account settings. Please read this article to learn more.', ['articleLink' => 'https://support.discord.com/hc/en-us/articles/218410947-I-forgot-my-Password-Where-can-I-set-a-new-one-']) !!}

{{ __('Alternatively, you can unlink your Discord account and set a password which you can use to sign in. Please note that any roles and/or privileges you may have been given as a result of this integration may be automatically removed until you link your Discord account again.') }}

@csrf @method('PATCH')

{{ __('Setting a new password:') }}

@else
{{__('Change Password')}}

{{__('Change your password here. This will log you out from all existing sessions for your security.')}}

@csrf @method('PATCH')

{!! __('Forgot password? Reset it here!') !!}

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

@if (Auth::user()->has2FA())

{{__('Hooray! 2FA is setup correctly for your account. A code will be asked each time you login.')}}

@else

{{__('Two-factor auth is available for your account.')}}{{__("Enabling this security option greatly increases your account's security in case your password ever gets stolen.")}}

@endif
{{__('Session Manager')}}

{{__('Terminating other sessions is a mustif your account has been compromised.')}}

{{__('Your current session: logged in from :ipAddress', ['ipAddress' => (!$shouldCollect) ? __('0.0.0.0 (censored)') : $ip])}}

@if($demoActive)

{{ __('This feature is disabled') }}

@endif
{{__('Contact settings')}}

{{__('Need to change personal data? You can do so here.')}}

@csrf @method('PATCH')

{{__('For security reasons, you cannot make important account changes without confirming your password. You will also need to verify your new email address.')}}

{{ __('Danger Zone') }}

{{ __('Careful! Actions in these tab might result in irreversible loss of data.') }}

@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop