summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderMvc/Global.asax.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-03 11:48:03 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-03 11:48:03 -0800
commit71bc6d9e10f7f49e6229121d8257c90df2563cb1 (patch)
tree8839cc1d705decc7f59c6f38842a1fdb946dbeeb /samples/OpenIdProviderMvc/Global.asax.cs
parent1328af341acee67bc7b3cdff1f8d6b0151a429cd (diff)
downloadDotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.zip
DotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.tar.gz
DotNetOpenAuth-71bc6d9e10f7f49e6229121d8257c90df2563cb1.tar.bz2
Updated the way the MVC Provider sample handles XRDS, PPID and normal user identities.
Diffstat (limited to 'samples/OpenIdProviderMvc/Global.asax.cs')
-rw-r--r--samples/OpenIdProviderMvc/Global.asax.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/OpenIdProviderMvc/Global.asax.cs b/samples/OpenIdProviderMvc/Global.asax.cs
index 3ca6104..c848c1c 100644
--- a/samples/OpenIdProviderMvc/Global.asax.cs
+++ b/samples/OpenIdProviderMvc/Global.asax.cs
@@ -20,11 +20,11 @@
routes.MapRoute(
"User identities",
"user/{id}/{action}",
- new { controller = "User", action = "Identity", id = string.Empty });
+ new { controller = "User", action = "Identity", id = string.Empty, anon = false });
routes.MapRoute(
"PPID identifiers",
"anon",
- new { controller = "User", action = "PpidIdentity", id = string.Empty });
+ new { controller = "User", action = "Identity", id = string.Empty, anon = true });
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters