Openmaize.Logout

Module to handle user logout.

Summary

Functions

Function to handle user logout

Functions

call(conn, arg)

Function to handle user logout.

If the token is stored in a cookie, the cookie is deleted and the user is redirected to the home page.

If the token is stored in sessionStorage, then you need to delete the token with the front-end framework you are using.