mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Merge pull request #10060 from lonebyte/password-reset-warning-fix
This commit is contained in:
commit
57b9e500c2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user