Im trying to do Auth:logout();
, but im getting this error. Do i really need this column or i can avoid that?
Route::get('/logout', 'MainController@logout');
public function logout(){
Auth::logout();
return response()->json([
'isLoggedIn' => false
]);
}
via None