From a8b7e26b24ca74e98327e245e62111c818f0f2e1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 2 Apr 2024 18:29:41 +0300 Subject: [PATCH] fix CaptchaBuilder constructor arguments --- src/webui/explore.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/webui/explore.php b/src/webui/explore.php index 51e62fc..88071e6 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -216,8 +216,11 @@ if ($config->webui->index->enabled) } $captcha = new \Gregwar\Captcha\CaptchaBuilder( - $config->webui->captcha->length, - $config->webui->captcha->phrase + null, + new PhraseBuilder( + $config->webui->captcha->length, + $config->webui->captcha->phrase + ) ); $captcha->setBackgroundColor(