Set min password length is 8 characters by default for release

This commit is contained in:
Shannon
2015-09-16 14:32:56 +02:00
parent 5b1ed8bef5
commit 23f7a4e53f

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
<!--
CAREFUL!
========
@@ -9,22 +9,24 @@
Umbraco RELEASE version - The version that everybody will download and use
-->
<system.web>
<trust xdt:Transform="Remove" />
<globalization xdt:Transform="Remove" />
<trace enabled="false" xdt:Transform="SetAttributes(enabled)" />
<customErrors mode="RemoteOnly" xdt:Transform="SetAttributes(mode)">
</customErrors>
<system.web>
<trust xdt:Transform="Remove" />
<globalization xdt:Transform="Remove" />
<trace enabled="false" xdt:Transform="SetAttributes(enabled)" />
<customErrors mode="RemoteOnly" xdt:Transform="SetAttributes(mode)">
</customErrors>
<membership>
<providers>
<add xdt:Transform="SetAttributes(useLegacyEncoding)" xdt:Locator="Match(name)" name="UmbracoMembershipProvider"
useLegacyEncoding="true" />
<add xdt:Transform="SetAttributes(useLegacyEncoding)" xdt:Locator="Match(name)" name="UsersMembershipProvider"
useLegacyEncoding="true" />
</providers>
</membership>
</system.web>
<membership>
<providers>
<add xdt:Transform="SetAttributes(useLegacyEncoding,minRequiredPasswordLength)" xdt:Locator="Match(name)" name="UmbracoMembershipProvider"
minRequiredPasswordLength="8"
useLegacyEncoding="true" />
<add xdt:Transform="SetAttributes(useLegacyEncoding,minRequiredPasswordLength)" xdt:Locator="Match(name)" name="UsersMembershipProvider"
minRequiredPasswordLength="8"
useLegacyEncoding="true" />
</providers>
</membership>
</system.web>
</configuration>