Coherence v0.4.0 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 unlcock link click

Render the send reset link form

Link to this section Types

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 unlcock link click.

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

Render the send reset link form.