aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-08-01 19:43:22 +0200
committerGitHub <noreply@github.com>2023-08-01 19:43:22 +0200
commit57b9e500c2842e02c284573dada057d6350611b3 (patch)
tree991059b9966010e639fcc4260d69a3b168004cee
parentd3c7af0d5c3709e18eac71fdb0279e985b6a9113 (diff)
parentdd75f35a1a453541e4ca8cfe9422d3e39e9d668b (diff)
Merge pull request #10060 from lonebyte/password-reset-warning-fix
-rw-r--r--Jellyfin.Api/Controllers/UserController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/UserController.cs b/Jellyfin.Api/Controllers/UserController.cs
index 4f61af35e..1be40111d 100644
--- a/Jellyfin.Api/Controllers/UserController.cs
+++ b/Jellyfin.Api/Controllers/UserController.cs
@@ -494,7 +494,7 @@ public class UserController : BaseJellyfinApiController
var isLocal = HttpContext.IsLocal()
|| _networkManager.IsInLocalNetwork(ip);
- if (isLocal)
+ if (!isLocal)
{
_logger.LogWarning("Password reset process initiated from outside the local network with IP: {IP}", ip);
}