diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-17 09:00:32 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-17 09:00:32 -0700 |
commit | f364b60d7b8b5ea09e64b6accfb09fb27793b645 (patch) | |
tree | 4ceb76ccef4ff6dcb7708660417554642659ccd9 /samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs | |
parent | 2e14748ecd43edd0d34c6eff3d8fab27c271873b (diff) | |
parent | 0d8fe1df1813e5f39a4db63affe9dbe5c7c84de3 (diff) | |
download | DotNetOpenAuth-f364b60d7b8b5ea09e64b6accfb09fb27793b645.zip DotNetOpenAuth-f364b60d7b8b5ea09e64b6accfb09fb27793b645.tar.gz DotNetOpenAuth-f364b60d7b8b5ea09e64b6accfb09fb27793b645.tar.bz2 |
Merge branch 'v3.0' into v3.1
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 fd22389..b3698bb 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() { |