Merge pull request #10060 from lonebyte/password-reset-warning-fix

This commit is contained in:
Bond-009 2023-08-01 19:43:22 +02:00 committed by GitHub
commit 57b9e500c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}