Browse Source

fix CaptchaBuilder constructor arguments

main
yggverse 9 months ago
parent
commit
a8b7e26b24
  1. 7
      src/webui/explore.php

7
src/webui/explore.php

@ -216,8 +216,11 @@ if ($config->webui->index->enabled) @@ -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…
Cancel
Save