Pass callback to req.logout (new as of passport@0.6)
Closed this issue · 2 comments
julianlam commented
[4567/196] - error: GET /
Error: req#logout requires a callback function
at req.logout.req.logOut (/usr/share/nginx/html/node_modules/passport/lib/http/request.js:65:44)
at plugin.addMiddleware [as method] (/usr/share/nginx/html/node_modules/nodebb-plugin-session-sharing/library.js:468:8)
at async Object.fireResponseHook [as response] (/usr/share/nginx/html/src/plugins/hooks.js:272:4)
at async Hooks.fire (/usr/share/nginx/html/src/plugins/hooks.js:127:17)
at async /usr/share/nginx/html/src/middleware/index.js:94:2
at async /usr/share/nginx/html/src/middleware/helpers.js:15:5
via https://community.nodebb.org/topic/16661/plugin-session-share-cookies/3
Xaponeis commented
I was just looking into that: https://stackoverflow.com/questions/72336177/error-reqlogout-requires-a-callback-function
julianlam commented
v6.0.0