Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo

  • Loading branch information...
commit b082d6de2d51437e22e4c4feeb4db9a70d57d57a 1 parent fcfb366
@tj tj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/csrf.js
View
2  examples/csrf.js
@@ -32,7 +32,7 @@ CSRF.prototype.visitTag = function(node){
case 'form':
if ("'post'" == node.getAttribute('method')) {
var tok = new nodes.Tag('input');
- tok.setAttribute('type', '"_hidden"');
+ tok.setAttribute('type', '"hidden"');
tok.setAttribute('name', '"csrf"');
tok.setAttribute('value', 'csrf');
node.block.unshift(tok);
Please sign in to comment.
Something went wrong with that request. Please try again.