Add a admin user and the "role" information into the token.

This commit is contained in:
Sébastien André
2021-03-17 14:06:51 +01:00
parent 229fe5d3a5
commit ee3a1273da
4 changed files with 28 additions and 9 deletions

View File

@@ -35,8 +35,7 @@ namespace skydiveLogs_api.DomainBusiness
if (foundUser == null)
{
_userRepository.Add(newUser);
result = true;
result = _userRepository.Add(newUser);
}
return result;