mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-01 18:25:29 +00:00
fix CaptchaBuilder constructor arguments
This commit is contained in:
parent
630e2b21e4
commit
a8b7e26b24
1 changed files with 5 additions and 2 deletions
|
|
@ -216,8 +216,11 @@ if ($config->webui->index->enabled)
|
||||||
}
|
}
|
||||||
|
|
||||||
$captcha = new \Gregwar\Captcha\CaptchaBuilder(
|
$captcha = new \Gregwar\Captcha\CaptchaBuilder(
|
||||||
|
null,
|
||||||
|
new PhraseBuilder(
|
||||||
$config->webui->captcha->length,
|
$config->webui->captcha->length,
|
||||||
$config->webui->captcha->phrase
|
$config->webui->captcha->phrase
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$captcha->setBackgroundColor(
|
$captcha->setBackgroundColor(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue