Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c839063
)
Enable error bubbling
author
Raphaël Gertz
<git@rapsys.eu>
Sun, 8 Dec 2024 07:04:19 +0000
(08:04 +0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Sun, 8 Dec 2024 07:04:19 +0000
(08:04 +0100)
Form/CaptchaType.php
patch
|
blob
|
history
diff --git
a/Form/CaptchaType.php
b/Form/CaptchaType.php
index 015a91bac486f8a522540c2d2c0cc6b2e5040439..f8cf3d024deba7465841d157d49a34981c7947e4 100644
(file)
--- a/
Form/CaptchaType.php
+++ b/
Form/CaptchaType.php
@@
-71,7
+71,7
@@
class CaptchaType extends AbstractType {
parent::configureOptions($resolver);
//Set defaults
- $resolver->setDefaults(['captcha' => false, 'translation_domain' => RapsysPackBundle::getAlias()]);
+ $resolver->setDefaults(['captcha' => false, '
error_bubbling' => true, '
translation_domain' => RapsysPackBundle::getAlias()]);
//Add extra captcha option
$resolver->setAllowedTypes('captcha', 'boolean');