Directing 401 results to an Access Denied url. Login fields are shown only when current user is anonymous. Account controller and views are relocated to the Orchard.Users package.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045026
This commit is contained in:
loudej
2010-01-06 04:31:38 +00:00
parent dcbda9458f
commit d5edf2b711
16 changed files with 162 additions and 35 deletions

View File

@@ -58,7 +58,7 @@
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880" />
</authentication>
<membership defaultProvider="OrchardMembershipProvider">