aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/LiveTv/LiveTvService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/LiveTv/LiveTvService.cs')
-rw-r--r--MediaBrowser.Api/LiveTv/LiveTvService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/LiveTv/LiveTvService.cs b/MediaBrowser.Api/LiveTv/LiveTvService.cs
index 07e64c98d..344d6ab3d 100644
--- a/MediaBrowser.Api/LiveTv/LiveTvService.cs
+++ b/MediaBrowser.Api/LiveTv/LiveTvService.cs
@@ -521,12 +521,12 @@ namespace MediaBrowser.Api.LiveTv
if (user == null)
{
- throw new UnauthorizedAccessException("Anonymous live tv management is not allowed.");
+ throw new SecurityException("Anonymous live tv management is not allowed.");
}
if (!user.Policy.EnableLiveTvManagement)
{
- throw new UnauthorizedAccessException("The current user does not have permission to manage live tv.");
+ throw new SecurityException("The current user does not have permission to manage live tv.");
}
}