mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 19:14:45 +02:00
fix captcha middleware using wrong function when disabled
This commit is contained in:
parent
fa04bb1aea
commit
0ee80b1fec
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user