4

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?

Adam Frick
  • 182
  • 1
  • 8

1 Answers1

2

Seems like this is a known issue when using deployable assemblies with MVC3.

I found the solution in the answer here.

Community
  • 1
  • 1
Adam Frick
  • 182
  • 1
  • 8