Skip to content
Browse files

oops. fixed Web::CSRFDefender

  • Loading branch information...
1 parent c63dd8b commit 3ab36c20f32bf638e0af7aeaf5fab021a299105e @tokuhirom tokuhirom committed Dec 8, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Amon2/Plugin/Web/CSRFDefender.pm
View
3 lib/Amon2/Plugin/Web/CSRFDefender.pm
@@ -2,6 +2,7 @@ package Amon2::Plugin::Web::CSRFDefender;
use strict;
use warnings;
use String::Random qw/random_regex/;
+use Amon2::Util ();
our $ERROR_HTML = <<'...';
<!doctype html>
@@ -60,7 +61,7 @@ sub init {
}
);
}
- Amon::Util::add_method($c, 'validate_csrf', \&validate_csrf);
+ Amon2::Util::add_method($c, 'validate_csrf', \&validate_csrf);
}
sub validate_csrf {

0 comments on commit 3ab36c2

Please sign in to comment.
Something went wrong with that request. Please try again.