mirror of
https://github.com/bitwarden/server.git
synced 2025-01-29 23:01:46 +01:00
show pii on api
This commit is contained in:
parent
34eba3c465
commit
edd49c7e67
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user