This commit is contained in:
2018-09-26 22:51:22 +00:00
parent 8543ef947b
commit 58d9f27fd6
5 changed files with 14 additions and 13 deletions

View File

@@ -242,7 +242,8 @@ namespace AyaNova.Util
public async static void GenSeedUser(ILogger log, int count, AuthorizationRoles roles, UserType userType, bool active = true, string login = null, string password = null)
{
UserBiz Biz = UserBiz.GetBizInternal(ServiceProviderProvider.DBContext);
// Biz.CreateAsync()
//allow creation of not entirely ready users (missing client id or subcontractor vendor id etc)
Biz.SeedOrImportRelaxedRulesMode = true;
for (int x = 0; x < count; x++)
{