diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-08 08:03:00 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-08 08:03:27 -0800 |
commit | 0d8fe1df1813e5f39a4db63affe9dbe5c7c84de3 (patch) | |
tree | 5bf5e9e0407d0f5c69968a17960a9c2e1faffd3e /samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs | |
parent | 7572ea5f8603ece9d45cb2df3b0d62c66bc8cb1c (diff) | |
download | DotNetOpenAuth-0d8fe1df1813e5f39a4db63affe9dbe5c7c84de3.zip DotNetOpenAuth-0d8fe1df1813e5f39a4db63affe9dbe5c7c84de3.tar.gz DotNetOpenAuth-0d8fe1df1813e5f39a4db63affe9dbe5c7c84de3.tar.bz2 |
Fixed subdirectory hosting of MVC samples.
Diffstat (limited to 'samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs')
-rw-r--r-- | samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs b/samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs index c0478b1..51c9f04 100644 --- a/samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs +++ b/samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs @@ -14,7 +14,7 @@ public ActionResult Index() { if (!User.Identity.IsAuthenticated) { - Response.Redirect("/User/Login?ReturnUrl=Index"); + Response.Redirect("~/User/Login?ReturnUrl=Index"); } return View("Index"); @@ -26,7 +26,7 @@ public ActionResult Logout() { FormsAuthentication.SignOut(); - return Redirect("/Home"); + return Redirect("~/Home"); } public ActionResult Login() { |