Here is my routes.php code
Route::auth();
Route::group([\'middleware\' => \'web\'], function () {
Route::group([\'namespace\' => \'Admin\', \
Changes are made to always invoke the web middleware in a RouteServiceProvider so no need to specify it in routes.php going forward.
Updated Documentation says:
Keep in mind, the web middleware group is automatically applied to your default routes.php file by the RouteServiceProvider.
NOW the "web" middleware group is applied to default. Delete this Route::group(['middleware' => 'web'] from you file route.php