mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
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");
|
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…
Reference in New Issue
Block a user