@extends('layouts.app') @section('title', __('two-factor.security.2fa.setup.title')) @section('content')
@if ($currentStep === 0)
@include('auth.2fa._intro_enforced', ['partner' => $partner])
@elseif ($resumable)

{{ __('two-factor.security.2fa.setup.resume.intro') }}

@csrf
@csrf
@else
@if ($currentStep > 1 && $passwordConfirmedAt)
{{ __('two-factor.security.2fa.setup.skipped.password_confirmed', ['time' => $passwordConfirmedAt->diffForHumans()]) }}
@endif @if ($currentStep === 1)

{{ __('two-factor.security.2fa.setup.step1.title') }}

{{ __('two-factor.security.2fa.setup.step1.intro') }}

@csrf
@elseif ($currentStep === 2)

{{ __('two-factor.security.2fa.setup.step2.title') }}

{{ __('two-factor.security.2fa.setup.step2.intro', ['email' => $maskedEmail]) }}

@csrf
@csrf
@elseif ($currentStep === 3)

{{ __('two-factor.security.2fa.setup.step3.title') }}

@if ($isMobile)

{{ __('two-factor.security.2fa.setup.step3.mobile.intro') }}

••••-••••-••••-••••
{{ __('two-factor.security.2fa.setup.step3.mobile.deep_link') }}
{{ __('two-factor.security.2fa.setup.step3.mobile.qr_fallback') }}
@else

{{ __('two-factor.security.2fa.setup.step3.desktop.intro') }}

{{ __('two-factor.security.2fa.setup.step3.desktop.manual_fallback') }}
{{ $formattedSecret }}
@endif
@csrf
@endif
@endif
@if ($currentStep === 3 && $isMobile) @push('scripts_after') @endpush @endif @endsection