cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

Login problem #543

Open filippo1996 opened 3 years ago

filippo1996 commented 3 years ago

Hi, I'm using Laravel 8 and sentinel is giving me login problems. As soon as I log in, the user is not saved in session, as soon as I run Sentinel::check() gives me null value. What am I doing wrong?

P.s To login, I use the command:

Sentinel::authenticateAndRemember($credentials)