diff --git a/Type/CaptchaType.php b/Type/CaptchaType.php index e533a42..967df7d 100644 --- a/Type/CaptchaType.php +++ b/Type/CaptchaType.php @@ -64,7 +64,7 @@ class CaptchaType extends AbstractType $validator = new CaptchaValidator( $this->translator, $this->session, - sprintf('gcp_%s', $builder->getForm()->getName()), + sprintf('gcb_%s', $builder->getForm()->getName()), $options['invalid_message'], $options['bypass_code'], $options['humanity'] @@ -84,7 +84,7 @@ class CaptchaType extends AbstractType throw new \InvalidArgumentException('GregwarCaptcha: The reload option cannot be set without as_url, see the README for more information'); } - $sessionKey = sprintf('gcp_%s', $form->getName()); + $sessionKey = sprintf('gcb_%s', $form->getName()); $isHuman = false; if ($options['humanity'] > 0) {