'Laravel Auth User Model change

I previously implemented login with User Table through the auth function in Laravel

however, i don't want to use User table instead i want to use Cust table

in the same, There are e-mail,password columns on the cust table

i want to login using cust table not user table

check this Image Description

i write protected $table

but login is not working.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source