Browse Source

fix CaptchaBuilder constructor arguments

main
yggverse 8 months ago
parent
commit
a8b7e26b24
  1. 3
      src/webui/explore.php

3
src/webui/explore.php

@ -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…
Cancel
Save