Coherence v0.4.0 Coherence.ConfirmationController

Handle confirmation actions.

A single action, edit, is required for the confirmation module.

Link to this section Summary

Functions

Create a new confirmation token and resend the email

Handle the user’s click on the confirm link in the confirmation email

Handle resending a confirmation email

Link to this section Functions

Link to this function create(conn, params)

Create a new confirmation token and resend the email.

Handle the user’s click on the confirm link in the confirmation email.

Validate that the confirmation token has not expired and sets confirmation_sent_at field to nil, marking the user as confirmed.

Handle resending a confirmation email.

Request the user’s email, reset the confirmation token and resend the email.