@extends('theme.master') @section('title', '2FA') @section('content') @include('admin.message') @include('sweetalert::alert') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets))
@if($gets['img'] !== NULL && $gets['img'] !== '') @else course @endif

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

@endif

{{ __('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($QR_Image == '')
@csrf
@endif @if($QR_Image != '' ) 1. {{ __('Scan this QR code with your Google Authenticator App')}}.

@endif

@if(Auth::user()->google2fa_secret != '' && Auth::user()->google2fa_enable == 0 ) 2. {{ __('Enter the pin from Google Authenticator app')}}:

{{ csrf_field() }}
@endif @if(Auth::user()->google2fa_enable == 1)
{{ __('2FA is currently')}} {{ __('enabled')}} {{ __('on your account')}}.

{{ __('If you are looking to disable Two Factor Authentication. Please confirm your password and Click Disable 2FA Button.')}}

{{ csrf_field() }}
@if ($errors->has('current-password')) {{ $errors->first('current-password') }} @endif
@endif
@endsection @section('custom-script') @endsection