Laravel framework- Why aren\'t I able to use Auth::user(), (to see if user has been logged in) in the controller of the laravel project. Is the Session not connected to the cont
To see if a user is loged in don't use Auth::user(). Use Auth::check() instead.
Auth::user()
Auth::check()
if (Auth::check()){ return View::make('home.basic')->with('user', Auth::user()); }