Authentication request log with IP

pull/2746/head
Didier Dafond 5 years ago committed by GitHub
parent 5a816f0b22
commit 2fb9e36493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save