I have in my routeconfig route:
routes.MapRoute(name: "Login", url: "login", defaults: new { controller = "Account", action = "Login" });
It works fine except when the user is not authorized and calls a function with [Authorize] he is redirected to account/login, but not to /login as it should. Can you give me please an idea how to fix this issue?