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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2eWdTvM
via IFTTT

Aucun commentaire:

Enregistrer un commentaire