@extends('admin::layouts.master') @section('content')
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($user->loginSecurity == null) {{-- Generate 2FA Secret --}} @elseif($user->loginSecurity->google2fa_enable == 0) {{-- Enable 2FA --}}1. Scan this QR code with your Google Authenticator App. Alternatively, you can use the
code: {{ $secret_key }}
2. Enter the pin from Google Authenticator app:
@elseif($user->loginSecurity->google2fa_enable == 1) {{-- 2FA is enabled --}}If you are looking to disable Two Factor Authentication. Please confirm your password and Click Disable 2FA Button.
@endif