fix: Redact private key from logs and inspect

This commit is contained in:
Ro 2024-11-03 10:45:23 -06:00
parent 75421b7446
commit 42027c046c
Signed by: ro
GPG key ID: 5B5AD5A568CDABF9

View file

@ -11,7 +11,7 @@ defmodule Postland.Accounts.User do
field :hashed_password, :string, redact: true
field :current_password, :string, virtual: true, redact: true
field :confirmed_at, :utc_datetime
field :private_key, :string
field :private_key, :string, redact: true
field :public_key, :string
timestamps(type: :utc_datetime)