Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jivan thapa 194 posts 681 karma points
    Jun 07, 2016 @ 12:45
    jivan thapa
    0

    MemberService.CreateMember allows to create multiple users with same username

    Hi, I am using Umbraco version 7.3.7 assembly: 1.0.5876.30923

    Creating a member via Umbraco API allows to create multiple users with same username.

      var m = ApplicationContext.Current.Services.MemberService.CreateMember("[email protected]", "[email protected]", "jivan", "member");
        ApplicationContext.Current.Services.MemberService.Save(m);
    

    Is that normal behaviors? So we must check before creating a new member.

    Note: using System.Web.Security.Membership.CreateUser() does not allow to create members with same username.

    -Jivan Thapa

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft