Authentication request log with IP

This commit is contained in:
Didier Dafond
2020-04-02 22:02:14 +02:00
committed by GitHub
parent 5a816f0b22
commit 2fb9e36493

View File

@@ -357,7 +357,7 @@ namespace Emby.Server.Implementations.Library
IncrementInvalidLoginAttemptCount(user);
}
_logger.LogInformation("Authentication request for {0} {1}.", user.Name, success ? "has succeeded" : "has been denied");
_logger.LogInformation("Authentication request for {0} {1} (IP: {2}).", user.Name, success ? "has succeeded" : "has been denied", remoteEndPoint);
return success ? user : null;
}