aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-04-23 14:10:22 +0900
committerGitHub <noreply@github.com>2020-04-23 14:10:22 +0900
commit97d7ffc45899ba2a3b464e1cb6defcf06e29eebb (patch)
treeacd87502f2fe4b703efa676621fdbf98678baeb8 /Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
parent07c4dfd8fe7331b80389ae5002397ae134b14f9e (diff)
parent07326c1d9b1a74b6802cd4187104c4272d59e28e (diff)
Merge pull request #2861 from mark-monteiro/fix-auth-response-codes
Fix Auth Response Codes
Diffstat (limited to 'Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs')
-rw-r--r--Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs b/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
index ab036eca7..52c8facc3 100644
--- a/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
+++ b/Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
@@ -47,7 +47,7 @@ namespace Emby.Server.Implementations.Library
{
if (resolvedUser == null)
{
- throw new ArgumentNullException(nameof(resolvedUser));
+ throw new AuthenticationException($"Specified user does not exist.");
}
bool success = false;