sentinel v2.0.0 Sentinel.Changeset.Confirmator
Handles confirmation logic, including whether confirmation is needed, and the confirmation changeset
Summary
Functions
Returns a changeset which, when applied, confirms the user. If params[“confirmation_token”] does not match, an error is added to the changeset
Adds the changes needed for a user’s email confirmation to the given changeset. Returns {unhashed_confirmation_token, changeset}
Functions
Returns a changeset which, when applied, confirms the user. If params[“confirmation_token”] does not match, an error is added to the changeset.