@extends('auth.layouts.app') @section('content')
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.


To Enable Two Factor Authentication on your Account, you need to do following steps

  1. Click on Generate Secret Button , To Generate a Unique secret QR code for your profile
  2. Verify the OTP from Google Authenticator Mobile App

@if (session('error'))
{{ session('error') }}
@endif @if (session('success'))
{{ session('success') }}
@endif @if( !($data['user']->passwordSecurity))
{{ csrf_field() }}
@elseif(!$data['user']->passwordSecurity->google2fa_enable) 1. Scan this barcode with your Google Authenticator App:


2.Enter the pin the code to Enable 2FA

{{ csrf_field() }}
@if ($errors->has('verify-code')) {{ $errors->first('verify-code') }} @endif
@elseif($data['user']->passwordSecurity->google2fa_enable && $data['user']->level() >=6 )
2FA is Currently Enabled for your account.

If you are looking to disable Two Factor Authentication. Please confirm your password and Click Disable 2FA Button.

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