@extends('layouts.admin') @section('content')

Two-factor authentication

Time-based codes (Google Authenticator, Authy, 1Password). Mandatory for admin accounts.

{{ $user->hasTwoFactor() ? 'Enabled' : 'Not enabled' }}
@if(!$user->hasTwoFactor())

1. Scan the QR code (or enter the secret manually) in your authenticator app.
2. Enter the 6-digit code it shows to activate.

Secret
{{ chunk_split($pendingSecret, 4, ' ') }}
{{ $otpauth }}
@csrf
@else
@csrf
@endif

Change password

Minimum 12 characters.

@csrf

Recent activity

Your last 10 audited actions.

@forelse($recent as $a)
{{ \App\Support\Ui::ago($a->created_at) }}
{{ $a->action }} {{ $a->ip }}
@empty
No activity yet.
@endforelse
@endsection @if(!$user->hasTwoFactor()) @push('scripts') @endpush @endif