Error: req#logout requires a callback function
at IncomingMessage.req.logout.req.logOut (/home/structure/backend-staging/server/node_modules/passport/lib/http/request.js:65:44)
at file:///home/structure/backend-staging/server/lib/githubLogin.js:111:9
at Layer.handle [as handle_request] (/home/structure/backend-staging/server/node_modules/express/lib/router/layer.js:95:5)
at next (/home/structure/backend-staging/server/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/home/structure/backend-staging/server/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/home/structure/backend-staging/server/node_modules/express/lib/router/layer.js:95:5)
at /home/structure/backend-staging/server/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/home/structure/backend-staging/server/node_modules/express/lib/router/index.js:346:12)
at next (/home/structure/backend-staging/server/node_modules/express/lib/router/index.js:280:10)
at SessionStrategy.strategy.pass (/home/structure/backend-staging/server/node_modules/passport/lib/middleware/authenticate.js:346:9)
Gets stuck at https://staging-data.structure.love/logout