Merge pull request #81 from ChessCom/master

Add the option of custom background images for the captcha
This commit is contained in:
Grégoire Passault
2015-08-13 12:30:47 +02:00
3 changed files with 7 additions and 0 deletions

View File

@ -125,6 +125,9 @@ class CaptchaGenerator
$fingerprint = isset($options['fingerprint']) ? $options['fingerprint'] : null;
$this->builder->setBackgroundImages($options['background_images']);
$this->builder->setIgnoreAllEffects($options['ignore_all_effects']);
$content = $this->builder->build(
$options['width'],
$options['height'],