Initial commit: CABM-IT (ItGlue-style MSP documentation platform)
Laravel 13 + Livewire/Volt app for managing client organizations, documents, passwords, flexible assets, virtual machines, contacts, domains, todos, shortcuts, and role-based user administration.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<x-layouts.guest title="Authentification à deux facteurs">
|
||||
@if ($errors->any())
|
||||
<div class="mb-4 rounded border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-700">
|
||||
<ul class="list-inside list-disc">
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<p class="mb-4 text-sm text-slate-600">
|
||||
Entrez le code de votre application d'authentification, ou l'un de vos codes de récupération.
|
||||
</p>
|
||||
|
||||
<form method="POST" action="{{ route('two-factor.login') }}" class="space-y-4">
|
||||
@csrf
|
||||
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-slate-700" for="code">Code d'authentification</label>
|
||||
<input id="code" type="text" name="code" inputmode="numeric" autofocus
|
||||
class="mt-1 w-full rounded border-slate-300 shadow-sm focus:border-slate-500 focus:ring-slate-500">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-slate-700" for="recovery_code">Code de récupération</label>
|
||||
<input id="recovery_code" type="text" name="recovery_code"
|
||||
class="mt-1 w-full rounded border-slate-300 shadow-sm focus:border-slate-500 focus:ring-slate-500">
|
||||
</div>
|
||||
|
||||
<button type="submit"
|
||||
class="w-full rounded bg-slate-900 px-4 py-2 text-sm font-medium text-white hover:bg-slate-700">
|
||||
Vérifier
|
||||
</button>
|
||||
</form>
|
||||
</x-layouts.guest>
|
||||
Reference in New Issue
Block a user