Module: routes/logout

logout router module This module logs out a user.
Source:

Methods

(private, static) routerGETLogout(req, res, next)

GET logout page. Destroys the user object by calling req.logout(). This logs the user out. Then redirect to "/".
Parameters:
Name Type Description
req Object request object
res Object response object
next function function call to next middleware
Source: