Changing gcp to gcb

This commit is contained in:
Gregwar 2014-07-31 16:41:27 +02:00
parent fe3df8a640
commit 162a2a87cd
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class CaptchaType extends AbstractType
$validator = new CaptchaValidator( $validator = new CaptchaValidator(
$this->translator, $this->translator,
$this->session, $this->session,
sprintf('gcp_%s', $builder->getForm()->getName()), sprintf('gcb_%s', $builder->getForm()->getName()),
$options['invalid_message'], $options['invalid_message'],
$options['bypass_code'], $options['bypass_code'],
$options['humanity'] $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'); 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; $isHuman = false;
if ($options['humanity'] > 0) { if ($options['humanity'] > 0) {