Permalink
Browse files

Fix Security Component CSRF bug

  • Loading branch information...
1 parent b202a3f commit 61699f20a61c2a9b35c534684225d7425f18435c @rnavarro committed Oct 9, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 View/Helper/RecaptchaHelper.php
@@ -113,6 +113,9 @@ public function display($options = array()) {
$script = $this->Html->tag('div', $script, $options['div']);
}
+ $this->Form->unlockField('recaptcha_challenge_field');
+ $this->Form->unlockField('recaptcha_response_field');
+
return $script;
}

0 comments on commit 61699f2

Please sign in to comment.