This commit is contained in:
2018-08-31 14:51:17 +00:00
parent 4a03db5277
commit b5ccaa3c8e
2 changed files with 8 additions and 3 deletions

View File

@@ -437,6 +437,9 @@ namespace AyaNova.Biz
i.Login = Hasher.GenerateSalt();
i.Password = Hasher.hash(i.Salt, Hasher.GenerateSalt());
//No rights
i.Roles=AuthorizationRoles.NoRole;
User o = await CreateAsync(i);
if (HasErrors)
{