|
|
@ -102,8 +102,8 @@ namespace PlexRequests.Core
|
|
|
|
UserGuid = Guid.NewGuid().ToString(),
|
|
|
|
UserGuid = Guid.NewGuid().ToString(),
|
|
|
|
Salt = salt,
|
|
|
|
Salt = salt,
|
|
|
|
Hash = PasswordHasher.ComputeHash(password, salt),
|
|
|
|
Hash = PasswordHasher.ComputeHash(password, salt),
|
|
|
|
Claims = JsonRequestService.ReturnBytes(claims),
|
|
|
|
Claims = ByteConverterHelper.ReturnBytes(claims),
|
|
|
|
UserProperties = JsonRequestService.ReturnBytes(new UserProperties())
|
|
|
|
UserProperties = ByteConverterHelper.ReturnBytes(new UserProperties())
|
|
|
|
};
|
|
|
|
};
|
|
|
|
repo.Insert(userModel);
|
|
|
|
repo.Insert(userModel);
|
|
|
|
|
|
|
|
|
|
|
|