aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserService.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 /MediaBrowser.Api/UserService.cs
parent07c4dfd8fe7331b80389ae5002397ae134b14f9e (diff)
parent07326c1d9b1a74b6802cd4187104c4272d59e28e (diff)
Merge pull request #2861 from mark-monteiro/fix-auth-response-codes
Fix Auth Response Codes
Diffstat (limited to 'MediaBrowser.Api/UserService.cs')
-rw-r--r--MediaBrowser.Api/UserService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.cs
index 401514349..78fc6c694 100644
--- a/MediaBrowser.Api/UserService.cs
+++ b/MediaBrowser.Api/UserService.cs
@@ -426,7 +426,7 @@ namespace MediaBrowser.Api
catch (SecurityException e)
{
// rethrow adding IP address to message
- throw new SecurityException($"[{Request.RemoteIp}] {e.Message}");
+ throw new SecurityException($"[{Request.RemoteIp}] {e.Message}", e);
}
}