@extends('themes.basic.user.layouts.app') @section('title', translate('Settings')) @section('breadcrumbs', Breadcrumbs::render('user.settings')) @section('content')
{{ translate('Account details') }}
@csrf
{{ $user->getName() }}
@if (licenseType(2) && $settings->premium->status)
{{ translate('Subscription') }}
@if ($user->isSubscribed()) @endif
@if ($user->isSubscribed())
@php $subscription = $user->subscription; @endphp

{{ translate(':plan_name (:plan_interval)', [ 'plan_name' => $subscription->plan->name, 'plan_interval' => $subscription->plan->getIntervalName(), ]) }}

{{ translate('Expiry date') }}: @if ($subscription->plan->isLifetime()) @else {{ dateFormat($subscription->expiry_at) }} @endif

@if ( ($subscription->isAboutToExpire() && !authUser()->subscription->plan->isFree()) || ($subscription->isExpired() && !authUser()->subscription->plan->isFree()))
@if ($subscription->plan->isActive())
@csrf
@else {{ translate('Renew') }} @endif
@endif
@csrf
@else

{{ translate('You are not subscribed') }}

{{ translate('You are not subscribed to any plan, you can subscribe by clicking on the button below') }}

{{ translate('Subscribe') }}
@endif
@endif
{{ translate('Change Password') }}
@csrf
{{ translate('2FA Authentication') }}

{{ translate('Two-factor authentication (2FA) strengthens access security by requiring two methods (also referred to as factors) to verify your identity. Two-factor authentication protects against phishing, social engineering, and password brute force attacks and secures your logins from attackers exploiting weak or stolen credentials.') }}

@if (!$user->google2fa_status)
{!! $qr_image !!}
@else
{{ translate('Disable 2FA Authentication') }}
@endif

{{ translate('To use the two factor authentication, you have to install a Google Authenticator compatible app. Here are some that are currently available:') }}

  • {{ translate('Google Authenticator for iOS') }}
  • {{ translate('Google Authenticator for Android') }}
  • {{ translate('Microsoft Authenticator for iOS') }}
  • {{ translate('Microsoft Authenticator for Android') }}
  • @if (!$user->google2fa_status) @else @endif @push('scripts_libs') @endpush @endsection