I had it in place previously It got override. I need to redirect with validation errors on failed login to login page
redirect('login')
->withErrors($validator, 'login');
How to replace the sendFailedLoginResponse to redirect to login page with errors
throw ValidationException::withMessages([
$this->username() => [trans('auth.failed')],
]);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire