Closed apirastru closed 8 years ago
Hi,
Do you use as_url
captchas?
Yes here is my complete config : gregwar_captcha: width: 100 height: 50 length: 4 charset: 1234567890 quality: 20 reload: /generate-captcha/1 as_url: true background_color: [255, 255, 255] humanity: 1 text_color: [255, 0, 0]
Ok, update your bundle to master and try again
Seems it works ;) Thank you very much! Andrea
Hi I'm tring to put the text_color parameter in the form definition as the follow exemple: $builder-> add(...) ... ->add('captcha', 'captcha', array('text_color' => array(255,0,0) )) ...
But seems that it takes only the global config in the config.yml : .... gregwar_captcha: width: 100 height: 50 quality: 20 background_color: [255, 255, 255] text_color: [255, 0, 0] ...
Can you check please ? Thanx Andrea