commit
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user