@php $configData = Helper::appClasses(); if(session('two_fa_enforced')){ $pageConfigs = ['myLayout' => 'blank']; } @endphp @extends('admin/layouts/layoutMaster') @section('title', 'Account settings - Security') @section('vendor-style') @endsection @section('page-style') @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection @section('content')
Two-steps verification
Secure Your Account
Two-factor authentication adds an extra layer of security to your account. To log in, in addition you'll need to provide a 6 digit code
@if(strpos($two_fa_settings['2fa_method'], 'authenticator') !== false)
Setup Using Google Authenticator @if (auth()->user()->two_factor_confirmed_at && auth()->user()->two_factor_secret) Active @elseif (auth()->user()->two_factor_secret) Pending @endif
Get codes from an app like Google Authenticator, Microsoft Authenticator, Authy or 1Password.
Using an authenticator app like Google Authenticator, Microsoft Authenticator, scan the QR code. It will generate a 6 digit code for you to enter below.
@if (auth()->user()->two_factor_secret)
{!! auth()->user()->twoFactorQrCodeSvg() !!}
@endif @if (auth()->user()->two_factor_secret) @endif

Please Scan The above code to get the Confirmation Code

@if (auth()->user()->two_factor_secret) @if (auth()->user()->two_factor_confirmed_at) @else
Two factor authentication is not Confirmed yet.
@endif @else {{--
@csrf
--}} @endif
{{--
--}}
@endif {{-- $two_fa_settings contains email as substring --}} @if(strpos($two_fa_settings['2fa_method'], 'email') !== false)
Setup Using Email @if (Auth::user()->two_factor_email_confirmed) Active @endif
Enabling this feature will send code on your email account {{ Auth::user()->email }} for log in.
@if (Auth::user()->two_factor_email_confirmed) @else @endif
@endif
{{-- logout --}}
@csrf
@include('admin/_partials/_modals/modal-enable-otp') @include('admin/_partials/_modals/modal-enable-otp-email') @include('admin/_partials/_modals/modal-otp-confirm-password') @endsection