aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-04-23 18:54:13 -0400
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-04-23 19:32:40 -0400
commitcd989381908203e02139d403955cf70c0c818dd8 (patch)
tree890d927f09eb310100b1c6f9ad52ddf921271f8a /Emby.Server.Implementations/Session/SessionManager.cs
parent24ed6397250df484b71ebfb3b428d31e4d05f510 (diff)
parentaa6d52277dfbc074016d7623f114325a5edc3cbe (diff)
Merge remote-tracking branch 'upstream/master' into integration-tests
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index de768333d..c93c02c48 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -1414,7 +1414,7 @@ namespace Emby.Server.Implementations.Session
if (user == null)
{
AuthenticationFailed?.Invoke(this, new GenericEventArgs<AuthenticationRequest>(request));
- throw new SecurityException("Invalid username or password entered.");
+ throw new AuthenticationException("Invalid username or password entered.");
}
if (!string.IsNullOrEmpty(request.DeviceId)