@lang('modules.twofactor.twoFaInfo') @if ($smtpSetting->mail_driver == 'smtp' && !$smtpSetting->verified)
@lang('modules.twofactor.verifySmtp')
@if (user()->permission('manage_notification_setting') == 'all')
@lang('app.verify')
@endif
@endif
@lang('modules.twofactor.setupEmail') @if (($user->two_fa_verify_via == 'email' || $user->two_fa_verify_via == 'both') && $user->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->two_fa_verify_via == 'email' || $user->two_fa_verify_via == 'both') && $user->two_factor_email_confirmed) @lang('app.disable') @else @lang('app.enable') @endif @endif
@lang('modules.twofactor.setupGoogleAuthenticator') @if ($user->two_fa_verify_via == 'google_authenticator' || $user->two_fa_verify_via == 'both') @if ($user->two_factor_confirmed) @lang('app.active') @else @lang('modules.twofactor.validate2FA') @lang('app.pending') @endif @endif

@lang('messages.enable2FAUsingAuthenticator')

@if ($user->two_factor_secret)

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

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