Fix saving referralId on user create
This commit is contained in:
parent
956aaa2db6
commit
b704d05f4e
|
|
@ -98,7 +98,7 @@ public class AcLoginServiceServer<TResultLoggedInModel, TDal, TDbContext, TUser,
|
|||
user.EmailAddress = email;
|
||||
user.EmailConfirmed = true;
|
||||
user.Password = PasswordHasher.HashPassword(password, PasswordHasher.GenerateDynamicSalt(userId));
|
||||
|
||||
user.RefferalId = referralId;
|
||||
var address = Activator.CreateInstance<TProfileAddress>();
|
||||
address.Id = Guid.NewGuid();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue