Add a admin user and the "role" information into the token.
This commit is contained in:
@@ -35,8 +35,7 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
|
||||
if (foundUser == null)
|
||||
{
|
||||
_userRepository.Add(newUser);
|
||||
result = true;
|
||||
result = _userRepository.Add(newUser);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user