Localize Login redirect
our site has the following route format: /[Locale]/RestOfPath
The problem is that the redirect url always redirects to /Login instead of /[Locale]/Login. Could you turn AuthenticateAttribute.DoHtmlRedirectIfConfigured into a static Func instead of a static method so it is overridable?
Joel Harkes commented
Making it virtual wont be enough because then i still have to overwrite both: Authenticate and RequiredRole, etc..