mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +12:00
docs: Mark the hashed_password
field as private so it does not appear in any API responses
As the API extensions grab all public attributes by default - this is one that really should not be included!
This commit is contained in:
parent
f2d1da39a4
commit
5023f381b5
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ defmodule MyApp.Accounts.User do
|
|||
attributes do
|
||||
uuid_primary_key :id
|
||||
attribute :email, :ci_string, allow_nil?: false
|
||||
attribute :hashed_password, :string, allow_nil?: false, sensitive?: true
|
||||
attribute :hashed_password, :string, allow_nil?: false, sensitive?: true, private?: true
|
||||
end
|
||||
|
||||
authentication do
|
||||
|
|
Loading…
Reference in a new issue