mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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…
x
Reference in New Issue
Block a user