1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 12:22:28 +01:00

fix captcha middleware using wrong function when disabled

This commit is contained in:
Jakob Schrettenbrunner 2017-04-01 01:54:42 +02:00
parent fa04bb1aea
commit 0ee80b1fec

View File

@ -17,7 +17,7 @@ class VerifyReCaptcha
*/ */
public function handle($request, Closure $next) public function handle($request, Closure $next)
{ {
if (!config('recaptcha.enabled')) return next($request); if (!config('recaptcha.enabled')) return $next($request);
$response_domain = null; $response_domain = null;