initial commit

This commit is contained in:
TheOnlyMace
2026-05-17 13:26:14 +02:00
commit 75299b723d
176 changed files with 20327 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
@extends('layouts.app')
@section('title', '2FA einrichten')
@section('heading', 'Zwei-Faktor-Authentifizierung')
@section('content')
<div class="hexahost-card mx-auto max-w-lg p-6">
<p class="mb-4 text-sm opacity-80">Admins müssen 2FA aktivieren. Scannen Sie den QR-Code mit Ihrer Authenticator-App.</p>
<div class="mb-4 flex justify-center">{!! $qrSvg !!}</div>
<p class="mb-4 font-mono text-center text-sm">{{ $secret }}</p>
<form method="POST" action="{{ route('two-factor.enable') }}" class="space-y-4">
@csrf
<input type="text" name="code" inputmode="numeric" pattern="[0-9]{6}" maxlength="6" required placeholder="6-stelliger Code" class="hexahost-input w-full px-3 py-2">
<button class="hexahost-btn-primary w-full px-4 py-2">Aktivieren</button>
</form>
</div>
@endsection