guard v0.3.0 Guard.User
Link to this section Summary
Functions
Creates a changeset based on the model
and params
Link to this section Functions
Link to this function
changeset(model, params \\ :empty)
Creates a changeset based on the model
and params
.
If no params are provided, an invalid changeset is returned with no validation performed.
Link to this function
check_password(user, password)
Link to this function
check_pin(user, pin)
Link to this function
hash_password(password)