Permalink
Browse files

typo

  • Loading branch information...
1 parent fcfb366 commit b082d6de2d51437e22e4c4feeb4db9a70d57d57a Tj Holowaychuk committed Jan 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/csrf.js
View
@@ -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);

0 comments on commit b082d6d

Please sign in to comment.