mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fixed IsAdministrator defaulting to true
This commit is contained in:
parent
d3b9afef2f
commit
383d8e9963
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue