addict v0.3.0 Addict.Interactors.ValidatePassword

Summary

Functions

Validates a password according to the defined strategies. For now, only the :default strategy exists: password must be at least 6 chars long

Functions

call(changeset, strategies)

Validates a password according to the defined strategies. For now, only the :default strategy exists: password must be at least 6 chars long.

Returns {:ok, []} or {:error, [errors]}