diff --git a/laravel/auth.php b/laravel/auth.php index 0881e968..4634f7b5 100644 --- a/laravel/auth.php +++ b/laravel/auth.php @@ -55,7 +55,7 @@ public static function user() { if ( ! is_null(static::$user)) return static::$user; - $id = IoC::core('session')->get(Auth::user_key); + $id = Session::get(Auth::user_key); // To retrieve the user, we'll first attempt to use the "user" Closure // defined in the auth configuration file, passing in the ID. The user