Skip to content

Commit

Permalink
Added CSRF protection
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Apr 13, 2011
1 parent 07b7af4 commit ba76f55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/Look2RemoveMe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ sub compile_psgi_app {

enable 'SimpleLogger', level => 'debug';

enable 'Session';

enable 'CSRFBlock';

enable '+Lamework::Middleware::RoutesDispatcher';

enable '+Lamework::Middleware::ActionBuilder';
Expand Down
2 changes: 0 additions & 2 deletions templates/layout.caml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">


<!-- CSS: implied media="all" -->
<link rel="stylesheet" href="css/style-0058.min.css?v=2">

Expand All @@ -42,7 +41,6 @@
</div>
</div> <!--! end of #container -->


<!-- JavaScript at the bottom for fast page loading -->

<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
Expand Down

0 comments on commit ba76f55

Please sign in to comment.