@extends('layouts.app') @section('page-header') @endsection @section('content')
User Avatar

{{ auth()->user()->name }}

{{ auth()->user()->job_role }}
@if (auth()->user()->google2fa_enabled == false)

{{ __('Activate 2FA Authentication') }}

{{ __('In order to enable enhanced security measures, setup Google Two Factor Authentication for Login.') }}

{{ __('Scan the QR code below or use setup key on your Google Authenticator app to add your account.') }}

@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! $qr_code !!}

{{ __('Google Authenticator is a multifactor authentication application for mobile devices. It generates timed codes used during the 2-step verification process. To use Google Authenticator, install the Google Authenticator app on your mobile device.') }}

@csrf
@error('key') {{ $message }} @enderror
@elseif (auth()->user()->google2fa_enabled == true)

{{ __('Deactivate 2FA Authentication') }}

@csrf
@error('key') {{ $message }} @enderror
@endif
@endsection