Coherence v0.5.1 Coherence.UnlockController

Handle unlock_with_token actions.

This controller provides the ability generate an unlock token, send the user an email and unlocking the account with a valid token.

Basic locking and unlocking does not use this controller.

Link to this section Summary

Functions

Create and send the unlock token

Handle the unlock link click

Render the send reset link form

Link to this section Types

Link to this type conn()
conn() :: Plug.Conn.t()
Link to this type params()
params() :: Map.t()
Link to this type schema()
schema() :: Ecto.Schema.t()

Link to this section Functions

Link to this function create(conn, params)
create(conn(), params()) :: conn()

Create and send the unlock token.

Link to this function edit(conn, params)
edit(conn(), params()) :: conn()

Handle the unlock link click.

Link to this function new(conn, params)
new(conn(), params()) :: conn()

Render the send reset link form.