mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Cleaning and syncrhonizing the web.config files in Azure and Orchard.Web
--HG-- branch : dev
This commit is contained in:
@@ -21,14 +21,6 @@
|
||||
<reflection-optimizer use="false"/>
|
||||
</hibernate-configuration>
|
||||
|
||||
<appSettings>
|
||||
<!--
|
||||
This is a workaround. There’s 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
|
||||
|
Reference in New Issue
Block a user