I have been implementing a simple authentication system on Laravel 5.2 using Sentinel.
// Route : /login
$success = Sentinel::authenticate(array(
\'email
In Laravel 5.2 you need to apply web group middlewere to all your routes you wan't to make sessions work. This is the major change from Laravel 5.1.
Please look at https://laravel.com/docs/5.2/routing#basic-routing
The default routes.php file looks like this at the moment:
Route::group(['middleware' => ['web']], function () {
// here you should put your routes
});
EDIT
You can look also directly at https://github.com/laravel/laravel/blob/master/app/Http/Kernel.php into middlewareGroups property to know which middlewares are fired for web group middleware