@php $enabled = $enabled ?? false; $pending = $pending ?? false; $qrSvg = $qrSvg ?? null; $recoveryCodes = $recoveryCodes ?? []; @endphp
2FA (Authenticator)
TOTP via App (Google/Microsoft/Authy).
Zurück zu Sitzungen
Status
@if ($enabled) Aktiv @elseif($pending) Setup offen @else Inaktiv @endif
@if (!$enabled && !$pending)
@csrf
@endif @if ($enabled || $pending)
@csrf @method('DELETE')
@endif
Empfehlung: 2FA für alle Bezirksstellen-Accounts verpflichtend.
@if ($pending)
Setup
QR-Code scannen und 6-stelligen Code bestätigen.
@if ($pending)
{!! $qrSvg !!}
@endif
@csrf
@error('code')
{{ $message }}
@enderror @elseif($enabled)
Recovery Codes
Einmal-Codes für Notfallzugang. Sicher speichern.
@csrf
@forelse($recoveryCodes as $c)
{{ $c }}
@empty
Keine Codes vorhanden.
@endforelse
@else
2FA ist deaktiviert
Aktiviere 2FA, um dein Konto zu schützen.
@endif