mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 12:52:55 +12:00
fix: no need to allow_nil_input
for an unaccepted field
the purpose of `allow_nil_input` is to say "we accept some required field X as input, but the action will set it if the user does not". Non-accepted attributes *always* behave that way, expecting the action to set them, and are checked just prior to committing the action.
This commit is contained in:
parent
4edc788778
commit
1131de032a
1 changed files with 0 additions and 1 deletions
|
@ -193,7 +193,6 @@ defmodule AshAuthentication.Strategy.Password.Transformer do
|
|||
arguments: arguments,
|
||||
changes: changes,
|
||||
metadata: metadata,
|
||||
allow_nil_input: [strategy.hashed_password_field],
|
||||
description: "Register a new user with a username and password."
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue