neopostmodern / structure

Structure is a knowledge management tool
https://structure.love
GNU Affero General Public License v3.0
18 stars 0 forks source link

Logout is broken on 0.23 #209

Closed neopostmodern closed 1 year ago

neopostmodern commented 1 year ago

Gets stuck at https://staging-data.structure.love/logout

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)