Thumb rule These all routes should be encapsulated in the web middleware which are uses Auth(). Documentation
Correction:
Route::group(['middleware' => 'web'], function () {
Route::auth();
Route::get('/contacts','AuthController@GetGroupMembers');
Route::post('/login','AuthController@Login');
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.