No [login] credential was passed - Laravel & Sentinel

728 views Asked by At

I have started a new project with Laravel, and after I included Sentinel and tried to register a new user, it keeps showing me this message: No [login] credential was passed. What Login credentials, I'm registering new user?? I'm using the latest version of Laravel 5.5, and latest of Sentinel as well. For registering, I'm using registerAndActivate() method provided in Sentinel documentation.

This is not my first time using Sentinel, but this is the first time I see this message and I have no idea what is going on?

I'm using Homestead as the host system. First migration has passed, everything with DB is okay.

Any ideas?

UPDATE:

Still, don't work, but I know where is the problem. It's the function validateUser from IlluminateUserRepository.php Sentinel's file. I have no idea what's going on...

MAYBE: New Laravel 5.5, and the Sentinel hasn't released new version..

1

There are 1 answers

1
Hooman On BEST ANSWER

This happened to me when I changed the 'email' column into 'username', but when I used the default column names, it worked properly.