@extends(auth()->user()?->can('admin.access') ? 'layouts.admin' : 'layouts.partner') @section('title', 'Two-factor authentication — '.config('app.name')) @section('page_title', 'Two-factor authentication') @section('breadcrumbs') @endsection @section('content')
@if ($enabled)

Two-factor authentication is enabled on this account.

@csrf @method('DELETE')
@error('code')
{{ $message }}
@enderror
@elseif ($pendingSecret)

Add this secret to your authenticator app, then confirm with a code.

{{ $pendingSecret }}

{{ $otpUrl }}

@csrf
@error('code')
{{ $message }}
@enderror
@else

Optional staff 2FA is available. Enroll when you are ready — you will be challenged on each new login.

@csrf
@endif
@endsection