Hi, I have this code in a form class:
    $csrf = new Hidden('csrf', array(
      "name" => $this->security->getTokenKey(),
      "value" => $this->security->getToken()
    ));
    $csrf->addValidator(new Identical(array(
      'value' => $this->security->getSessionToken(),
      'message' => 'CSRF validation failed.'
    )));And I tried to test if it works correctly changin the csrf input value with firebug or changing the validator value but it allways pass. Some help? Thx!!