lundi 31 octobre 2016

Laravel change id column to userId in users table

i am trying to change the id of users table to userId, but laravel authentication mechanism always checks for id column of users table.like

Users::check() and Users::attempt()

these functions always check for id attribute of users table, how to change this behavior of laravel.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire