This commit is contained in:
2026-03-30 22:36:45 +02:00
parent 1fa3806556
commit 8ab2d988fe
2 changed files with 3 additions and 0 deletions
@@ -16,6 +16,7 @@
@endif @endif
<form action="{{ route('login.store') }}" method="POST" class="space-y-4"> <form action="{{ route('login.store') }}" method="POST" class="space-y-4">
<input type = "hidden" name = "_ token" value = "{{csrf_token ()}}">
@csrf @csrf
<div> <div>
<label for="Email" class="block text-sm font-bold mb-2 text-gray-700">Email</label> <label for="Email" class="block text-sm font-bold mb-2 text-gray-700">Email</label>
+2
View File
@@ -8,6 +8,8 @@ Route::get('/', function () {
return view('welcome'); return view('welcome');
})->name('home'); })->name('home');
Route::get('/form-csrf', function () {return view('form-csrf');});
Route::get('/resources', function () { Route::get('/resources', function () {
return view('resources'); return view('resources');
})->name('resources.index'); })->name('resources.index');