summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-03-17 09:03:08 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-03-17 09:03:08 -0700
commit980693bd2183055c004b92341ac074fc1951dc73 (patch)
treee3dbf58aa645678c4aa8948bb180a20c0ac9f558 /samples/OpenIdRelyingPartyMvc/Controllers/UserController.cs
parent5513ca7174c6681848d0c05c5dc9e79a50ea5b10 (diff)
parentbb6361334b034f0f42baa147a3ff928fc84d2c5c (diff)
downloadDotNetOpenAuth-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.cs4
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() {