1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 17:12:49 -05:00

login failed log message

This commit is contained in:
Kyle Spearrin
2019-11-22 07:30:32 -05:00
parent 8f3df46075
commit d022517762
2 changed files with 8 additions and 1 deletions

View File

@ -17,7 +17,8 @@ namespace Bit.Identity
logging.AddSerilog(hostingContext, e =>
{
var context = e.Properties["SourceContext"].ToString();
if(context.Contains(typeof(IpRateLimitMiddleware).FullName) && e.Level == LogEventLevel.Information)
if(context.Contains(typeof(IpRateLimitMiddleware).FullName) &&
e.Level == LogEventLevel.Information)
{
return true;
}