Laravel 5.2 auth change 'id' to 'customer_id'
edit your user model and add this:
protected $primaryKey = 'customer_id';
you can set the $primaryKey
filed in the User
model to specify the primary key of your table:
protected $primaryKey = 'customer_id';