Fixed Failed event

Thank you very much Laravel for not pointing out the changes to be made when upgrading from 5.6 to 5.7
This commit is contained in:
Oreo Oreoniv 2018-11-28 23:24:43 +03:00 committed by GitHub
parent 2d7e889bcc
commit adcf0c9fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,6 +242,6 @@ class LoginController extends Controller
*/
private function fireFailedLoginEvent(Authenticatable $user = null, array $credentials = [])
{
event(new Failed($user, $credentials));
event(new Failed(config('auth.defaults.guard'), $user, $credentials));
}
}