after user loging to the system(Auth::attempt success)
how to add additional data to the Auth session and remove additionally added variables
without logout user ? (I mean without calling Auth::logout();)
is there a laravel methods to do that ?
updated : found a way to add but how to remove added variable ?
Auth::user()->setAttribute('key','value');
//Auth::user()->unsetAttribute('key','value'); ????? how to remove
return Response::json(Auth::user());