@extends('user.layouts.master') @section('title', __('Security Settings')) @section('content')

{{ __('Security Settings') }}

{{ __('You have full control to manage your own account setting.') }}

@if(session('email-sent'))
{{ session('email-sent') }}
@endif {!! Panel::profile_alerts('verify_email', ['class' => 'alert-plain', 'type' => 'info', 'link_modal' => '#change-unverified-email', 'link_modal_verify' => '#send-verification-link']) !!}
{{ __('Settings') }}

{{ __('These settings are helps you keep your account secure.') }}

{{ __('Save my Activity Logs') }}

{!! __('Save your all :page including unusual activity detected.', ['page' => ''.__('activity logs').'' ]) !!}

{{ __('Email me if encounter unusual activity') }}

{{ __('You will get email notification whenever encounter invalid login activity.') }}

{{ __('Change Email Address') }}

{{ __('Update your current email address to new email address.') }}

@if(auth()->user()->is_verified) @if(data_get($metas, 'user_new_email', false)) @else @endif @else @endif
{{ __('Change Password') }}

{{ __('Set a unique password to protect your account.') }}

@if(auth()->user()->is_verified)
  • {{ __('Change Password') }}
  • {!! __('Last changed: :date', ['date' => ''.((data_get($metas, 'last_password_changed', false)) ? show_date(data_get($metas, 'last_password_changed', false)) : __('N/A')).'' ]) !!}
@else
  • {{ __('You have to verify your email first.') }}
@endif
{{ __('2FA Authentication') }} @if (data_get(auth()->user(), '2fa')) {{ __('Enabled') }} @else {{ __('Disabled') }} @endif

{{ __('Secure your account with 2FA security. When it is activated you will need to enter not only your password, but also a special code using your mobile.') }}

@if (data_get(auth()->user(), '2fa')) {{ __('Disable') }} @else {{ __('Enable') }} @endif
{{--
{{ __('Social Account Linked') }}

{{ __('You can connect with your social account such as facebook, google etc to make easier to login into account.') }}

{{ __('Connect to Facebook') }}

{{ __('You have successfully connected with your facebook account, you can easily log in using your account too.') }}

{{ __('Connect to Google') }}

{{ __('You can connect with your google account.') }} {{ __('Not connected yet') }}

--}}
@endsection @push('modal') {{-- Change Email Modal --}} {{-- Email Confirmation Modal --}} {{-- Change Password Modal --}} {{-- Password Change Confirmation Modal --}} {{-- Change Unverified Email Modal--}} {{-- Send Verification Link for Unverified Email --}} @if (data_get(auth()->user(), '2fa')) {{-- 2fa disable modal --}} @else {{-- 2fa enable modal --}} @endif @endpush @push('scripts') @endpush