@lang('modules.twofactor.twoFaInfo') @if ($smtpSetting->mail_driver == 'smtp' && !$smtpSetting->verified)
@lang('modules.twofactor.verifySmtp')
@if (user()->permission('manage_notification_setting') == 'all' || ( user()->is_superadmin && user()->permission('manage_superadmin_notification_settings') == 'all'))
@lang('app.verify')
@endif
@endif
@lang('modules.twofactor.setupEmail') @if (($user->userAuth->two_fa_verify_via == 'email' || $user->userAuth->two_fa_verify_via == 'both') && $user->userAuth->two_factor_email_confirmed) @lang('app.active') @endif

@lang('messages.enable2FAUsingEmail', ['email' => user()->email])

@if (($smtpSetting->mail_driver == 'smtp' && $smtpSetting->verified) || $smtpSetting->mail_driver == 'mail') @if (($user->userAuth->two_fa_verify_via == 'email' || $user->userAuth->two_fa_verify_via == 'both') && $user->userAuth->two_factor_email_confirmed) @lang('app.disable') @else @lang('app.enable') @endif @endif
@lang('modules.twofactor.setupGoogleAuthenticator') @if ($user->userAuth->two_fa_verify_via == 'google_authenticator' || $user->userAuth->two_fa_verify_via == 'both') @if ($user->userAuth->two_factor_confirmed) @lang('app.active') @else @lang('modules.twofactor.validate2FA') @lang('app.pending') @endif @endif

@lang('messages.enable2FAUsingAuthenticator')

@if ($user->userAuth->two_factor_secret)

@lang('modules.twofactor.2faBarcode')

{!! $user->userAuth->twoFactorQrCodeSvg() !!}
@lang('app.note') @lang('modules.twofactor.2faAppWarning')
@endif @if ($user->userAuth->two_fa_verify_via == 'google_authenticator' || $user->userAuth->two_fa_verify_via == 'both') @if ($user->userAuth->two_factor_confirmed) @lang('app.disable') @lang('app.downloadRecoveryCode') @lang('app.regenerateRecoveryCode') @else @lang('modules.twofactor.validate2FA') @lang('app.disable') @endif @else @lang('app.enable') @endif