Skip to content
Snippets Groups Projects
Commit e3e795b7 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Fixed HumanVerification

parent 7b18cd0a
No related branches found
No related tags found
2 merge requests!1382Development,!1380Development
...@@ -35,7 +35,7 @@ class HumanVerification ...@@ -35,7 +35,7 @@ class HumanVerification
* If someone that uses a bot finds this out we * If someone that uses a bot finds this out we
* might have to change it at some point. * might have to change it at some point.
*/ */
if ($request->has('password') || $request->has('key') || $request->has('appversion') || !env('BOT_PROTECTION', false)) { if ($request->filled('password') || $request->filled('key') || $request->filled('appversion') || !env('BOT_PROTECTION', false)) {
$update = false; $update = false;
return $next($request); return $next($request);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment