@extends('theme.master') @section('title', '2FA') @section('content') @include('admin.message') @include('sweetalert::alert')

Two Factor Authentication

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