From 1ed6946cb1ff46a2b8b791d2e3bdc0c9df1a318e Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Mon, 10 Jun 2024 15:57:46 +0200 Subject: [PATCH] #844 prevent passwordhashes from being logged --- core/systems/account/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/systems/account/user.ex b/core/systems/account/user.ex index e3ced63ee..8da79e4da 100644 --- a/core/systems/account/user.ex +++ b/core/systems/account/user.ex @@ -13,7 +13,7 @@ defmodule Systems.Account.User do def email_max_length, do: 160 def email_format, do: ~r/^[^\s]+@[^\s]+$/ - @derive {Inspect, except: [:password]} + @derive {Inspect, except: [:password, :hashed_password]} schema "users" do field(:email, :string) field(:password, :string, virtual: true)