I\'m having a lot of problems and I really can\'t seem to find a solution.
Yesterday, I finished up doing some work on a vagrant box in Laravel. When I shut down the com
There are many reasons this can happen, I just ran into this problem myself. The fix for me was to change:
public function getAuthIdentifier() { return $this->username; }
to
public function getAuthIdentifier() { return $this->getKey(); }
on the User model.
User