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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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