View Source AshAuthentication.Strategy.Password.PasswordConfirmationValidation (ash_authentication v3.0.3)
Validate that the password and password confirmation match.
This check is only performed when the confirmation_required?
DSL option is set to true
.
Link to this section Summary
Functions
Callback implementation for Ash.Resource.Validation.init/1
.
Validates that the password and password confirmation fields contain equivalent values - if confirmation is required.
Link to this section Functions
Callback implementation for Ash.Resource.Validation.init/1
.
@spec validate( Ash.Changeset.t(), keyword() ) :: :ok | {:error, String.t() | Exception.t()}
Validates that the password and password confirmation fields contain equivalent values - if confirmation is required.