Advertisement
Guest User

Untitled

a guest
May 28th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. using System;
  2. using System.Web.Mvc;
  3.  
  4. namespace Orchard.Mvc.AntiForgery
  5. {
  6.     #region >>> HACK Allow disabling the anti forgery check per action/controller - Tim, 04/02/2012
  7.     [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
  8.     public class IgnoreAntiForgeryTokenOrchardAttribute : FilterAttribute
  9.     {
  10.  
  11.     }
  12.     #endregion HACK Allow disabling the anti forgery check per action/controller - Tim, 04/02/2012
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement