I have this section in the Web.config for my MVC3 application:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="20" slidingExpiration="true"/>
</authentication>
Until recently every time the code hit an [Authorize]
attribute the LogOn.cshtml page was shown. All of a sudden the redirection takes place to Account/Login (not the 'i' instead of the 'O'!!!) and I get a resource not found exception. I did a Find on the Web.config and could not find the word 'login' anywhere! What on Earh can have gone wrong?