mushood
6 months ago
170
6
Laravel

Remember_me token not being set

Posted 6 months ago by mushood

Laravel 5.7

I used laravel auth for my login and I can't get the remember_me functionality to function correctly.

The facts:

  1. I have the remember_token column in my database
  2. When I check the remember_me checkbox, a token is saved in this column
  3. When i check the request in chrome developer tools, I see the csrf token, the session token and NO other tokens
  4. I also have passport installed in my project. Not sure if this is relevant
  5. In my session.php, I have
'expire_on_close' => true,
'driver' => env('SESSION_DRIVER', 'file'),    // set as cookie in .env

Please sign in or create an account to participate in this conversation.