Merge pull request #81 from ChessCom/master
Add the option of custom background images for the captcha
This commit is contained in:
@ -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'],
|
||||
|
Reference in New Issue
Block a user