summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderMvc/Global.asax.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdProviderMvc/Global.asax.cs')
-rw-r--r--samples/OpenIdProviderMvc/Global.asax.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/samples/OpenIdProviderMvc/Global.asax.cs b/samples/OpenIdProviderMvc/Global.asax.cs
index 8c57961..a2bcfb2 100644
--- a/samples/OpenIdProviderMvc/Global.asax.cs
+++ b/samples/OpenIdProviderMvc/Global.asax.cs
@@ -26,10 +26,6 @@
"anon",
new { controller = "User", action = "PpidIdentity", id = string.Empty });
routes.MapRoute(
- "PpidXrds",
- "PpidXrds",
- new { controller = "Home", action = "PpidXrds" }); // Parameter defaults
- routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = string.Empty }); // Parameter defaults
@@ -37,6 +33,7 @@
protected void Application_Start() {
RegisterRoutes(RouteTable.Routes);
+ DotNetOpenAuth.OpenId.Behaviors.PpidGeneration.PpidIdentifierProvider = new Code.AnonymousIdentifierProvider();
}
}
} \ No newline at end of file