I need to show an error like the error when user write a wrong data in the login form when user does not enter his password. I think the method I should overwrite is validateLogin()
protected function validateLogin()
{
$this->validate(request(), [
'email' => 'required', 'password' => 'required'
]);
}
But it isn't given me the error message in view. I got the error when I left email field empty but not when I left password empty