Skip to content

Commit

Permalink
#844 prevent passwordhashes from being logged
Browse files Browse the repository at this point in the history
  • Loading branch information
mellelieuwes committed Jun 10, 2024
1 parent b58548c commit 1ed6946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/systems/account/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ed6946

Please sign in to comment.