aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserController.cs
diff options
context:
space:
mode:
authorJan Müller <github@lonebyte.de>2023-09-16 12:40:05 +0200
committerJan Müller <github@lonebyte.de>2023-09-16 12:40:05 +0200
commitfd022ee6850c364a9f3c2d8de2b06f26ee1b8abf (patch)
treed2aec7c1a9ae2d2b77b5c764a99a4434a6e4a21c /Jellyfin.Api/Controllers/UserController.cs
parent79cff704ff4e00895a8d2b97ecbbea3e2f5f56fc (diff)
parent61155adecd8a69bb476487f9fc81175b0c4185b7 (diff)
Merge branch 'master' into flac-hls-fixes
# Conflicts: # Jellyfin.Api/Controllers/DynamicHlsController.cs
Diffstat (limited to 'Jellyfin.Api/Controllers/UserController.cs')
-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);
}