Commit d81e0f6a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix

parent 907551a5
...@@ -20,9 +20,6 @@ class MetaGerSearch extends Controller ...@@ -20,9 +20,6 @@ class MetaGerSearch extends Controller
if ($focus !== "angepasst" && $this->startsWith($focus, "focus_")) { if ($focus !== "angepasst" && $this->startsWith($focus, "focus_")) {
$metager->parseFormData($request); $metager->parseFormData($request);
if ($metager->doBotProtection($request->input('bot', ""))) {
return redirect(LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), url("/noaccess", ['redirect' => base64_encode(url()->full())])));
}
return $metager->createView(); return $metager->createView();
} }
#die($request->header('User-Agent')); #die($request->header('User-Agent'));
......
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