Merge branch 'master' of http://git2.aycode.com/Adam/AyCode.Core
This commit is contained in:
commit
b0eb4dbe32
|
|
@ -98,7 +98,8 @@ public class AcLoginServiceServer<TResultLoggedInModel, TDal, TDbContext, TUser,
|
|||
user.EmailAddress = email;
|
||||
user.EmailConfirmed = true;
|
||||
user.Password = PasswordHasher.HashPassword(password, PasswordHasher.GenerateDynamicSalt(userId));
|
||||
|
||||
if(referralId != null)
|
||||
user.RefferalId = referralId;
|
||||
var address = Activator.CreateInstance<TProfileAddress>();
|
||||
address.Id = Guid.NewGuid();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue