From d89585ca03899f8215e6a1ac68ad678619b3aa74 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 16 Nov 2020 12:30:06 +0100 Subject: [PATCH] Hide tokens inside logs Especially from Websockets logs which contains auth token Signed-off-by: Thomas Citharel --- config/config.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.exs b/config/config.exs index 6f7490ec2..01cd4e484 100644 --- a/config/config.exs +++ b/config/config.exs @@ -170,6 +170,7 @@ config :tesla, adapter: Tesla.Adapter.Hackney config :phoenix, :format_encoders, json: Jason, "activity-json": Jason config :phoenix, :json_library, Jason +config :phoenix, :filter_parameters, ["password", "token"] config :ex_cldr, default_locale: "en",