Changing gcp to gcb
This commit is contained in:
parent
fe3df8a640
commit
162a2a87cd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue