Cleaning and syncrhonizing the web.config files in Azure and Orchard.Web

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-11-12 15:23:40 -08:00
parent 85d02344f4
commit 1d5f47b776
3 changed files with 45 additions and 50 deletions

View File

@@ -21,14 +21,6 @@
<reflection-optimizer use="false"/>
</hibernate-configuration>
<appSettings>
<!--
This is a workaround. Theres a known issue that causes Forms Authentication to always redirect unauthenticated users
to ~/Account/Login, ignoring the forms authentication setting used in Web.config.
-->
<add key="autoFormsAuthentication" value="false" />
</appSettings>
<system.diagnostics configSource="Config\Diagnostics.config"/>
<system.web.webPages.razor>
@@ -104,15 +96,7 @@
<authentication mode="Forms">
<forms loginUrl="~/Users/Account/AccessDenied" timeout="2880"/>
</authentication>
<roleManager enabled="false">
<providers>
<clear/>
<add name="OrchardRoleProvider" type="Orchard.Security.Providers.OrchardRoleProvider, Orchard.Framework"/>
<!--<add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>-->
<!--<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>-->
</providers>
</roleManager>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs