mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-04 19:04:24 +00:00
fix CaptchaBuilder constructor arguments
This commit is contained in:
parent
630e2b21e4
commit
a8b7e26b24
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user