@extends('layouts.theme') @section('title',"2 Factor Auth | ") @section('main-wrapper')

{{ __('Enable 2 Factor Auth') }}

{{__('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($data['google2fa_url'] != '' ) 1. {{__('Scan this QR code with your Google Authenticator App')}}: @endif
@if($data['google2fa_url'] != '' )
{!! $data['google2fa_url'] !!}
@endif @if($data['google2fa_url'] == '' )
@csrf
@endif @if(auth()->user()->google2fa_secret != '' && auth()->user()->google2fa_enable == 0 )
@csrf
@endif @if(auth()->user()->google2fa_enable == 1)
@csrf
@error('password') {{ $message }} @enderror
@endif
@endsection