in the credentials the password
field is not optional and must be named password
.
Auth::attemp(['Email' => ..., 'password' => ....]);
It doesn't matter what the field is named in the database as its not part of the query, but what ever field is the 'password' must be named password
in the array passed to attempt
.
lagbox said:
in the credentials the
password
field is not optional and must be namedpassword
.
Auth::attemp(['Email' => ..., 'password' => ....]);
It doesn't matter what the field is named in the database as its not part of the query, but what ever field is the 'password' must be named
password
in the array passed toattempt
.
Thank you very much ! Finally solved it
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community