diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-17 09:03:08 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-17 09:03:08 -0700 |
commit | 980693bd2183055c004b92341ac074fc1951dc73 (patch) | |
tree | e3dbf58aa645678c4aa8948bb180a20c0ac9f558 /samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs | |
parent | 5513ca7174c6681848d0c05c5dc9e79a50ea5b10 (diff) | |
parent | bb6361334b034f0f42baa147a3ff928fc84d2c5c (diff) | |
download | DotNetOpenAuth-980693bd2183055c004b92341ac074fc1951dc73.zip DotNetOpenAuth-980693bd2183055c004b92341ac074fc1951dc73.tar.gz DotNetOpenAuth-980693bd2183055c004b92341ac074fc1951dc73.tar.bz2 |
Merge branch 'v3.2' into v3.3
Conflicts:
src/DotNetOpenAuth/Properties/AssemblyInfo.cs
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() { |