unable to log out - passport throws an error on req.session.destroy()
when passing a request to the backend /api/users/logout route and using the DELETE method, the backend throws an error:
Error: req#logout requires a callback function
when passing a request to the backend /api/users/logout route and using the DELETE method, the backend throws an error:
Error: req#logout requires a callback function