Adding disabled global option (fixes #72)
This commit is contained in:
parent
6b4e7db721
commit
107dbe33e4
|
@ -44,6 +44,7 @@ class Configuration implements ConfigurationInterface
|
|||
->scalarNode('interpolation')->defaultValue(true)->end()
|
||||
->arrayNode('text_color')->prototype('scalar')->end()->end()
|
||||
->arrayNode('background_color')->prototype('scalar')->end()->end()
|
||||
->scalarNode('disabled')->defaultValue(false)->end()
|
||||
->end()
|
||||
;
|
||||
|
||||
|
|
|
@ -123,6 +123,8 @@ You can define the following configuration options globally or on the CaptchaTyp
|
|||
|
||||
* **width**: the width of the captcha image (default=120)
|
||||
* **height**: the height of the captcha image (default=40)
|
||||
* **disabled**: disable globally the CAPTCHAs (can be useful in dev environment), it will
|
||||
still appear but won't be editable and won't be checked
|
||||
* **length**: the length of the captcha (number of chars, default 5)
|
||||
* **quality**: jpeg quality of captchas (default=15)
|
||||
* **charset**: the charset used for code generation (default=abcdefhjkmnprstuvwxyz23456789)
|
||||
|
|
Loading…
Reference in New Issue