sentinel v2.0.0 Sentinel.Changeset.AccountUpdater

Handles account update functionality, including new emaili confirmation

Summary

Functions

Changeset method allowing user to change their email, by first storing it as unconfirmed

Returns confirmation token and changeset updating email and hashed_password on an existing user. Validates that email and password are present and that email is unique

Functions

apply_email_change(changeset)

Changeset method allowing user to change their email, by first storing it as unconfirmed

changeset(user, params)

Returns confirmation token and changeset updating email and hashed_password on an existing user. Validates that email and password are present and that email is unique.