fix CaptchaBuilder constructor arguments

This commit is contained in:
yggverse 2024-04-02 18:29:41 +03:00
parent 630e2b21e4
commit a8b7e26b24

View File

@ -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(