Openmaize v0.10.2
Openmaize.Logout
Module to handle user logout.
Summary
Function to handle user logout
Functions
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.