Enhancements to Csrf Element and Validator #2246

Merged
merged 1 commit into from Aug 28, 2012

Conversation

Projects
None yet
2 participants
Contributor

cgmartin commented Aug 26, 2012

Zend\Element\Csrf:

  • Allow changing the Csrf Validator that is returned from getInputSpecification().
  • Allow setting the Csrf validator options (ie. setting the timeout).

Zend\Validator\Csrf:

  • Allow setting the timeout to null so that the token can expire with the global session.

@weierophinney weierophinney added a commit that referenced this pull request Aug 28, 2012

@weierophinney weierophinney [#2246] Updated README
- Added info on changes to CSRF element
7381512

@weierophinney weierophinney merged commit 2af8190 into zendframework:master Aug 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment