Skip to content

Instantly share code, notes, and snippets.

@rarous
Created August 7, 2013 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rarous/6173286 to your computer and use it in GitHub Desktop.
Save rarous/6173286 to your computer and use it in GitHub Desktop.
public ActionResult SignIn(string returnUrl = null)
{
if (returnUrl != null)
Response.StatusCode = (int)HttpStatusCode.Unauthorized;
return View(new SignInRequest { ReturnUrl = returnUrl });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment