fixed IsAdministrator defaulting to true
This commit is contained in:
parent
d3b9afef2f
commit
383d8e9963
|
@ -314,6 +314,8 @@ namespace MediaBrowser.Api
|
|||
|
||||
var newUser = _userManager.CreateUser(dtoUser.Name).Result;
|
||||
|
||||
newUser.UpdateConfiguration(dtoUser.Configuration, _xmlSerializer);
|
||||
|
||||
var result = new DtoBuilder(Logger).GetDtoUser(newUser);
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
|
|
Loading…
Reference in New Issue
Block a user