Free cookie consent management tool by TermsFeed Policy Generator

Changeset 17220 for trunk


Ignore:
Timestamp:
08/27/19 14:40:25 (5 years ago)
Author:
jkarder
Message:

#3023: changed AccessService.AddUser() to generate random password for new user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Services.Access/3.3/AccessService.cs

    r17180 r17220  
    581581        }
    582582      } else {
    583         MembershipUser membershipUser = Membership.CreateUser(aspUser.UserName, aspUser.UserName, aspMembership.Email);
     583        MembershipUser membershipUser = Membership.CreateUser(aspUser.UserName, Membership.GeneratePassword(32, 8), aspMembership.Email);
    584584        membershipUser.IsApproved = aspMembership.IsApproved;
    585585        membershipUser.Comment = aspMembership.Comment;
Note: See TracChangeset for help on using the changeset viewer.