mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
show restart message when changing language
This commit is contained in:
parent
16a10e8b6e
commit
4509ef90dc
1 changed files with 3 additions and 1 deletions
|
@ -365,7 +365,9 @@ namespace MediaBrowser.Api
|
||||||
throw new ResourceNotFoundException("User not found");
|
throw new ResourceNotFoundException("User not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
var result = _userManager.GetOfflineUserDto(user, Request.RemoteIp);
|
var auth = AuthorizationContext.GetAuthorizationInfo(Request);
|
||||||
|
|
||||||
|
var result = _userManager.GetOfflineUserDto(user, auth.DeviceId);
|
||||||
|
|
||||||
return ToOptimizedResult(result);
|
return ToOptimizedResult(result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue