show restart message when changing language

This commit is contained in:
Luke Pulverenti 2015-01-30 11:12:08 -05:00
parent 16a10e8b6e
commit 4509ef90dc

View File

@ -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);
}