Commit 6dc06a17 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed ua

parent f6b9ffa4
......@@ -37,6 +37,7 @@ class Spam
if ($spam === true) {
$browser = new Agent();
$browser->setUserAgent($_SERVER["AGENT"]);
if ($browser === "Chrome" && $browser->version($browser) === "91.0.4472.77") {
$this->logFail2Ban($request->ip());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment