Skip to content
Browse files

Adding some documentation about token consumption.

  • Loading branch information...
markstory committed Oct 2, 2010
1 parent a10f147 commit ac90916b8463727caa8ed9244f3c526746f6e81b
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/controller/components/security.php
@@ -715,7 +715,8 @@ protected function _generateToken(&$controller) {
* Validate that the controller has a CSRF token in the POST data
* and that the token is legit/not expired.
* and that the token is legit/not expired. If the token is valid
* it will be removed from the list of valid tokens.
* @param Controller $controller A controller to check
* @return boolean Valid csrf token.

0 comments on commit ac90916

Please sign in to comment.
You can’t perform that action at this time.