View Source Bonfire.Data.Identity.Email (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Options: email_regex: Regexp.t (default very minimal validation) must_confirm?: bool (default true)
Changeset function. Marks the user's email as confirmed and removes their confirmation token.
Checks whether the user should be able to request a confirm email
Changeset function. Unconditionally sets the user as unconfirmed,
generates a confirmation token and puts an expiry on it determined
by the :confirm_duration
config key (default one day).
Checks whether the user should request a new confirmation token or refresh it
Types
Functions
Options: email_regex: Regexp.t (default very minimal validation) must_confirm?: bool (default true)
Changeset function. Marks the user's email as confirmed and removes their confirmation token.
Checks whether the user should be able to request a confirm email
Changeset function. Unconditionally sets the user as unconfirmed,
generates a confirmation token and puts an expiry on it determined
by the :confirm_duration
config key (default one day).
Checks whether the user should request a new confirmation token or refresh it