@extends('layouts/fullLayoutMaster') @section('title', 'Set up multi-factor authentication') @section('page-style') @endsection @section('content')

Security setup required

Your organization requires multi-factor authentication. Complete one method to continue.

@if($methods === []) @elseif(is_array($enrollment) && ($enrollment['method'] ?? null) === 'totp')
Authenticator app

Scan this QR code with your authenticator app, then verify the generated code.

Alternatively, enter this setup key manually:

{{ $enrollment['secret'] }}
Advanced setup URI {{ $enrollment['otpauth_uri'] }}
@include('auth.mfa.partials.enrollment-code-form', ['method' => 'totp']) @elseif(is_array($enrollment) && in_array($enrollment['method'] ?? null, ['email', 'sms', 'whatsapp'], true))
{{ $enrollment['method'] }} OTP

Enter the code sent to {{ $enrollment['identifier'] }}.

@include('auth.mfa.partials.enrollment-code-form', ['method' => $enrollment['method']]) @else
@if(in_array('totp', $methods, true))
@csrf
@endif @if(in_array('email', $methods, true))
@csrf
@endif @foreach(['sms' => 'SMS', 'whatsapp' => 'WhatsApp'] as $method => $label) @if(in_array($method, $methods, true))
@csrf
@endif @endforeach @if(in_array('passkey', $methods, true))
@endif
@endif
@endsection @push('scripts') @if($methods === []) @endif @if(in_array('passkey', $methods, true)) @endif @endpush