You’ll need to use the web middleware if you need session state, CSRF protection, and more.
Route::group(['middleware' => ['web']], function () {
// your routes here
});
本作品採用《CC 協議》,轉載必須註明作者和本文連結