@extends('layouts.master-blank') @push('styles') @endpush @section('content') @php $setting = App\Models\SiteConfiguration::where('key','2fa')->first();@endphp @if($setting->value == 'on') {{ __('Enable google authenticator')}} @csrf {{ __('Download App')}} {{ __('Scan QR code')}} {{ __('Backup Key')}} {{ __('Enable google authenticator')}} {{ __('Complete')}} {{ __('Download And Install The')}} {{ __('Authenticator App')}} {{ __('Google Authenticator')}} {{ __('App Store')}} {{ __('Android APK')}} {{ __('Scan to download')}} {{ __('iOS and Android')}} {{ __('How To Set Up Google Authenticator')}} {{ __('Scan This QR Code In The Authenticator App')}} {!! QrCode::size(200)->style('round')->eyeColor(2,202, 53, 93, 0, 0, 0)->eyeColor(1,202, 53, 93, 0, 0, 0)->eyeColor(0,202, 53, 93, 0, 0, 0)->gradient(202, 53, 93,142, 46, 168,'radial')->generate($qr ?? '') !!} {{ __('Save This Backup Key In Secure Location')}} {{$key ?? ''}} {{ __('This key allows you to restore your authenticator if you lose access to your phone.')}} {{ __('Without it, resetting Google Authenticator may take at least 7 days.')}} {{ __('Enable Authenticator By Verifying Your Account')}} Backup Key Authenticator Code {{ __('Enter the 6-Digit Code from Your Authenticator App')}} {{ __('Authenticator Enabled')}} {{ __('You have successfully enabled authenticator to protect your account')}} {{__('Require Authentication Code for') }} fa_setting) && in_array('login',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For Login') }} @if(isset(auth()->user()->roles[0]->name) && auth()->user()->roles[0]->name == 'support-manager') fa_setting) && in_array('clear',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For clear') }} fa_setting) && in_array('export',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For export') }} fa_setting) && in_array('import',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For import') }} fa_setting) && in_array('switch',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For switch') }} fa_setting) && in_array('change',Auth::user()->fa_setting) ? 'checked' : ''}}> {{__('For change email') }} @endif {{__('Confirm') }} {{__('Change Setting')}} {{__('Cancel Google 2FA') }} {{__('Do you want to Cancel the Google 2FA? Please press below Cancel button') }} {{__('Cancel') }} {{__('Confirm') }} @else {{__('Disabled Access')}} {{__('2FA functionality is disabled by the Administrator.') }} @endif @endsection @push('scripts') @endpush
{{ __('Google Authenticator')}}
{{ __('App Store')}}
{{ __('Android APK')}}
{{ __('Scan to download')}} {{ __('iOS and Android')}}
{{ __('How To Set Up Google Authenticator')}}
{{ __('This key allows you to restore your authenticator if you lose access to your phone.')}}
{{ __('Without it, resetting Google Authenticator may take at least 7 days.')}}
{{ __('Enter the 6-Digit Code from Your Authenticator App')}}
{{ __('You have successfully enabled authenticator to protect your account')}}
{{__('Do you want to Cancel the Google 2FA? Please press below Cancel button') }}
{{__('2FA functionality is disabled by the Administrator.') }}