I am having issues with the redirect to log in page when a user tries to access a page needing authorization. For some reason It wants to direct to:
http://domain.com/Account/Login
When it should redirect to:
http://domain.com/Account/LogOn
I believe I have set it correctly in the web.config file:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>
but for some reason it still redirects incorrectly. I have also searched for "Login" in my entire solution and see no other place where Account/Login would be specified.
How can I fix it to redirect correctly?