Coherence v0.3.0 Coherence.InvitationController
Handle invitation actions.
Handle the following actions:
- new - render the send invitation form.
- create - generate and send the invitation token.
- edit - render the form after user clicks the invitation email link.
- create_user - create a new user database record
- resend - resend an invitation token email
Summary
Functions
Generate and send an invitation token
Create a new user action
Render the create user template
Render the new invitation form
Resent an invitation
Functions
Generate and send an invitation token.
Creates a new invitation token, save it to the database and send the invitation email.
Render the create user template.
Sets the name and email address in the form based on what was entered when the invitation was sent.