Changes LoginStatusModel to use the correct api and updates the new membership provider stuff to ensure that the provideruserkey is the int id of the model for backwards compatibility.

This commit is contained in:
Shannon
2014-01-28 16:13:05 +11:00
parent e4e76eb0bf
commit 28d8fd0531
3 changed files with 13 additions and 9 deletions

View File

@@ -625,7 +625,7 @@ namespace Umbraco.Core.Services
throw new ArgumentException(string.Format("No MemberType matching the passed in Alias: '{0}' was found", memberTypeAlias));
}
return CreateMemberWithIdentity(email, username, password, memberType, raiseEvents);
return CreateMemberWithIdentity(username, email, password, memberType, raiseEvents);
}
/// <summary>