fix legacy member wrapping new api and mixing email/login name
This commit is contained in:
@@ -225,7 +225,7 @@ namespace umbraco.cms.businesslogic.member
|
||||
throw new Exception(string.Format("Duplicate User name! A member with the user name {0} already exists", loginName));
|
||||
|
||||
var model = ApplicationContext.Current.Services.MemberService.CreateMemberWithIdentity(
|
||||
Email.ToLower(), loginName, "", mbt.MemberTypeItem);
|
||||
loginName, Email.ToLower(), "", mbt.MemberTypeItem);
|
||||
model.Name = Name;
|
||||
|
||||
//The content object will only have the 'WasCancelled' flag set to 'True' if the 'Creating' event has been cancelled, so we return null.
|
||||
|
||||
Reference in New Issue
Block a user