@push('title', __('Two factor'))
{{ __('Two factor authentication') }} {{ __('Add an extra layer of security to your account by enabling two-factor authentication') }} @if (auth()->user()->two_factor_confirmed)
@csrf @method('delete') {{ __('Disable 2FA') }}
{{-- 2FA enabled but not yet confirmed, we show the QRcode and ask for confirmation --}} @elseif(auth()->user()->two_factor_secret)

{{ __('Validate your two-factor enabling by scanning the following QR-code and enter your auto-generated 2-factor code from your phone.') }}

{!! auth()->user()->twoFactorQrCodeSvg() !!}
{{ __('Recovery codes:') }}
    @foreach (auth()->user()->recoveryCodes() as $code)
  • {{ $code }}
  • @endforeach
{{ __('Please save your recovery codes somewhere safe! If you lose access to your 2FA codes, those recovery codes will be needed to regain access your account.') }}
@csrf {{ __('Code') }} {{ __('Please scan the QR-code above with your phone to retrieve your two-factor authentication code.') }} {{ __('Verify 2FA') }} @else

{{ __('Here at :hotel we take security very serious and therefore we offer you as a user a way to secure your beloved account even further, by allowing you to enable Googles 2-factor authentication!', ['hotel' => setting('hotel_name')]) }}

{{ __('2-factor authentication adds an extra layer of security to your account, making it physical impossible to access it without having access to your mobile phone as only your phone will contain the 2-factor authentication code which will be re-generated every 30 seconds automatically') }}

@csrf {{ __('Activate 2FA') }}
@endif