Fixing some potential upgrade issues and two issues found with the legacy member API

- For legacy API we never had and "approved" checkbox, so the assumption is that members are always approved
- The RequiresUniqueEmail check was wrong, previously the assumption was: if there's no e-mail then don't check for uniqueness
This commit is contained in:
Sebastiaan Janssen
2014-02-22 16:44:02 +01:00
parent 683ddf6d34
commit ac59c5deb0
9 changed files with 121 additions and 11 deletions

View File

@@ -23,6 +23,16 @@
<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>
</configuration>