Why was there even a limit on the amount of CSRF token insertions?

develop
Sven Slootweg 11 years ago
parent ce13fa4f29
commit c7c2e252b9

@ -44,7 +44,7 @@ class CSRF
public static function InsertTokens($input)
{
return preg_replace_callback("/<form[^>]*>(?!\s*<input name=\"_CPHP_CSRF)/i", "CSRF::GenerateReplacement", $input, 1);
return preg_replace_callback("/<form[^>]*>(?!\s*<input name=\"_CPHP_CSRF)/i", "CSRF::GenerateReplacement", $input);
}
public static function VerifyToken()

Loading…
Cancel
Save