DEV Community

Discussion on: Customize Laravel Auth (Laravel Breeze Registration and Login)

Collapse
 
marcelobianco profile image
Marcelo Bianco

Hi my friend
I have the following error: ErrorException
Undefined index:
my password field is called senha and it doesn’t pass this validation at all

public function validateCredentials(UserContract $user, array $credentials)

{

    $plain = $credentials['password'];



    return $this->hasher->check($plain, $user->getAuthPassword());

}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
rahulmanek profile image
rahulmanek

I am also facing same issue
Any solution??