1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 17:53:44 +00:00

show pii on api

This commit is contained in:
Kyle Spearrin
2019-07-25 21:17:58 -04:00
parent 34eba3c465
commit edd49c7e67

View File

@@ -12,6 +12,7 @@ using Stripe;
using Bit.Core.Utilities; using Bit.Core.Utilities;
using IdentityModel; using IdentityModel;
using System.Globalization; using System.Globalization;
using Microsoft.IdentityModel.Logging;
namespace Bit.Api namespace Bit.Api
{ {
@@ -141,6 +142,7 @@ namespace Bit.Api
IApplicationLifetime appLifetime, IApplicationLifetime appLifetime,
GlobalSettings globalSettings) GlobalSettings globalSettings)
{ {
IdentityModelEventSource.ShowPII = true;
app.UseSerilog(env, appLifetime, globalSettings); app.UseSerilog(env, appLifetime, globalSettings);
// Default Middleware // Default Middleware