Module: middleware/isNotLoggedIn

Checks if the user is not logged in; If the user is not logged in then the request continued; If the user is logged in then the user is redirect to the index page.
Parameters:
Name Type Description
req Object Express request object
res Object Express response object
next function Express next middleware function
Source:
See:
Returns:
Type
undefined