Support the ongoing development of Laravel.io →
Authentication Database Eloquent
Last updated 2 years ago.
0
Solution

As is specified on the official upgrade page (http://laravel.com/docs/upgrade#upgrade-4.1.26) you'll need the remember_token column on the user table now.

You also need the shown functions in the user model.

This makes the mandatory fields on the User table the following:

  • id
  • email or username (Only one is necessary. You can use any unique identifier you like.)
  • password
  • remember_token

Regards!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.