Skip to content

Instantly share code, notes, and snippets.

@ErikHen
Created May 11, 2017 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ErikHen/bea9e0fdee2eee1a1bef2bc06b023e9b to your computer and use it in GitHub Desktop.
Save ErikHen/bea9e0fdee2eee1a1bef2bc06b023e9b to your computer and use it in GitHub Desktop.
Episerver Mixed-mode auth. Register route
protected override void RegisterRoutes(RouteCollection routes)
{
base.RegisterRoutes(routes);
routes.MapRoute("Custom login", "Login/{action}/", new { controller = "Login", action = "Index" });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment