Guest User

Untitled

a guest
Jul 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if (!Request.IsAuthenticated)
  2. {
  3. return RedirectToAction("LogOn", "Account");
  4. }
  5.  
  6. <authentication mode="Forms">
  7. <forms loginUrl="~/Account/LogOn" timeout="2880" />
  8. </authentication>
Add Comment
Please, Sign In to add comment