Coherence.RegistrationController (Coherence v0.8.0)
Handle account registration actions.
Actions:
- new - render the register form
- create - create a new user account
- edit - edit the user account
- update - update the user account
- delete - delete the user account
Summary
Functions
Create the new user account.
Delete a registration.
Edit the registration.
Render the new user form.
Show the registration page.
Update the registration.
Types
Link to this type
conn()
@type conn() :: Plug.Conn.t()
Link to this type
params()
@type params() :: map()
Link to this type
schema()
@type schema() :: Ecto.Schema.t()
Functions
Link to this function
create(conn, params)
Create the new user account.
Creates the new user account. Create and send a confirmation if this option is enabled.
Link to this function
delete(conn, params)
Delete a registration.
Link to this function
edit(conn, _)
Edit the registration.
Link to this function
new(conn, params)
Render the new user form.
Link to this function
redirect_or_login(conn, user, params, arg4)
Link to this function
schema(which)
Link to this function
show(conn, _)
Show the registration page.
Link to this function
update(conn, params)
Update the registration.