aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-21 21:29:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-21 21:29:06 -0400
commitc524f3919ef019092d3bcfa246870bc3f16070c5 (patch)
treedc90081f8854340b275ce4e40cccaa7ff14e9847 /MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs
parentce20066bc0e2c7ba1634200cdee6ac339d4dfb60 (diff)
added cloud sync model objects
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs
index 1933cc716..ebb5ab741 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/Security/AuthService.cs
@@ -74,7 +74,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer.Security
if (user != null && user.Configuration.IsDisabled)
{
- throw new UnauthorizedAccessException("User account has been disabled.");
+ throw new AuthenticationException("User account has been disabled.");
}
if (!string.IsNullOrWhiteSpace(auth.DeviceId) &&