Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set session data after authenticate user using default auth route in laravel 5.2

I am developing a project using laravel 5.2. I use default authentication in this project by running this command.

php artisan make:auth

Everything is working great. Now I want to put some data in session after authenticate the user. I can not find the place where I put my code to store data in session after authenticate the user. I googled but not found any solution.

like image 679
Md. Sahadat Hossain Avatar asked Feb 04 '26 10:02

Md. Sahadat Hossain


1 Answers

Finally I got answer from another question. Here i post the solution for who are looking this type of solution

https://stackoverflow.com/a/36491235/2738927

like image 162
Md. Sahadat Hossain Avatar answered Feb 06 '26 00:02

Md. Sahadat Hossain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!