Redirected to incorrect log in URL in ASP.NET MVC
When my team and I upgraded one of the projects from MVC 4 to MVC 5, we encountered an issue where users get redirected to the default log in URL Account/Login which is different to the one specified in the web.config in the authentication section. <authentication mode=”Forms”> <forms loginUrl=”~/Account/Security/Login” timeout=”2880″ /> </authentication> After a bit of research on … [Read more…]