Permalink
Browse files

Added AntiForgeryPolicy to the HelloWorld registry

  • Loading branch information...
1 parent 83e1dda commit 8b2c7848b171263ef13d095af39f24fa99ac7397 @jmarnold jmarnold committed Oct 16, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/FubuMVC.HelloWorld/HelloWorldFubuRegistry.cs
@@ -31,6 +31,9 @@ public HelloWorldFubuRegistry()
ApplyConvention<OutputModelSettingBehaviorConfiguration>();
+ Policies
+ .Add<AntiForgeryPolicy>();
+
Import<WebFormsEngine>();
Views.TryToAttachWithDefaultConventions();

0 comments on commit 8b2c784

Please sign in to comment.