I recently upgraded my application from laravel 5.1 to 5.2 version. Also I am trying to store session in Database which is currently stored in file.
I have changed
look it's ok to go with it manual but why don't u use the php artisan make:auth it creates every thing u need for authentication and also helps u keeping the session instead of doing it manual ?
php artisan make:auth