Fix on the admin user.

This commit is contained in:
Sébastien André
2021-03-18 15:50:41 +01:00
parent b192bb7192
commit 7caf1d7df2
16 changed files with 80 additions and 37 deletions

View File

@@ -82,12 +82,12 @@ namespace skydiveLogs_api.DomainBusiness
var adminUser = new User
{
Login = "administrator",
Password = "logsadmin"
Password = "logsadmin",
Email = "no mail"
};
_userService.AddNewUser(adminUser);
_userService.AddNewUser(adminUser, true);
}
private readonly IAircraftService _aircraftService;
private readonly IJumpTypeService _jumpTypeService;