function onAuthenticationFailure(Request $request, AuthenticationException $exception) { // log failed attepts //\LoginAttempts::RecordLoginAttempt(); return parent::onAuthenticationFailure($request, $exception); }