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

Fixed HumanVerification

parent 7b18cd0a
...@@ -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);
} }
......
Markdown is supported
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