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?

1 Answer 1

2

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

I found the solution in the answer here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.