|
|
@@ -266,15 +266,4 @@ class MatomoWebsiteRepository
|
|
|
throw $e;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * A little workaround before the release of a fix for this issue:
|
|
|
- * https://github.com/matomo-org/matomo/issues/16867#issuecomment-738639828
|
|
|
- */
|
|
|
- public function clearBruteforceLog() {
|
|
|
- $remoteIp = $_SERVER['REMOTE_ADDR'];
|
|
|
- $stmt = $this->matomoCnn->prepare(
|
|
|
- "DELETE FROM matomo.matomo_brute_force_log WHERE ip_address='" . $remoteIp . "'");
|
|
|
- $stmt->execute();
|
|
|
- }
|
|
|
}
|