i need to modify the default login, (email and password). I must use a field other than email to make the login
User Model:
protected $fillable = [
'name',
'email',
't_matricula',
'matricula',
'number',
'password',
];
i could use the Number field as data to login, where should I modify to use Number instead of Name?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire