show restart message when changing language
This commit is contained in:
parent
16a10e8b6e
commit
4509ef90dc
|
@ -365,7 +365,9 @@ namespace MediaBrowser.Api
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user