Openmaize.Login

Module to handle password authentication and the generation of tokens.

Source

Summary

call(conn, arg2)

Function to handle user login

Functions

call(conn, arg2)

Function to handle user login.

If there is no error, a token will be created and sent to the user so that the user can make further requests without logging in again.

If the option redirects is not set, or set to true, the user will then be redirected to the main page / user page. If there is an error, the user will be redirected to the login page.

If redirects is set to false, then obviously there will be no redirects.

Source