Openmaize v1.0.0-beta.5 Openmaize.Confirm.Base

Base implementation of the email confirmation module.

This is used by both the Openmaize.Confirm and Openmaize.ResetPassword modules.

You can also use it to create your own custom module / plug.

Summary

Functions

Check the user key and, if necessary, the user password

Error message in the case of an invalid link

Functions

check_user_key(conn, user_params, key, password, arg)

Check the user key and, if necessary, the user password.

If this function is successful, the database will be updated, and an openmaize_info message will be added to the conn. If there is an error, an openmaize_error message will be added to the conn.