fixed IsAdministrator defaulting to true

This commit is contained in:
LukePulverenti 2013-03-04 10:50:56 -05:00
parent d3b9afef2f
commit 383d8e9963

View File

@ -314,6 +314,8 @@ namespace MediaBrowser.Api
var newUser = _userManager.CreateUser(dtoUser.Name).Result; var newUser = _userManager.CreateUser(dtoUser.Name).Result;
newUser.UpdateConfiguration(dtoUser.Configuration, _xmlSerializer);
var result = new DtoBuilder(Logger).GetDtoUser(newUser); var result = new DtoBuilder(Logger).GetDtoUser(newUser);
return ToOptimizedResult(result); return ToOptimizedResult(result);