fixed IsAdministrator defaulting to true

pull/702/head
LukePulverenti 12 years ago
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…
Cancel
Save