Permalink
Browse files

Created issue #228

  • Loading branch information...
sergeychernyshev committed May 7, 2016
1 parent 1abc31b commit 297ce7966309e90f1ecfec39381d761fd3aee6c8
Showing with 0 additions and 2 deletions.
  1. +0 −2 tools.php
View
@@ -39,8 +39,6 @@ public static function spaceencode($string) {
* Prevents CSRF for all POST requests by comparing cookie and POST nonces.
*
* Keeps track of 3 recent nonces to avoid problems for double-submissions, but still prevent CSRF attacks
*
* @todo Check if tracking multiple nonces is actually safe - need professional opinion
*/
public static function preventCSRF() {
$storage = new MrClay_CookieStorage(array(

0 comments on commit 297ce79

Please sign in to comment.