Beside the fact the destroy function is currently called destory, neither one nor the other (destory / destroy) seems to get called when the ctx.logout() method is triggered (as part of Koa-Passport). I don't know if it's because the function is currently not called correctly, or whether I'm missing anything else.
Beside the fact the destroy function is currently called destory, neither one nor the other (destory / destroy) seems to get called when the ctx.logout() method is triggered (as part of Koa-Passport). I don't know if it's because the function is currently not called correctly, or whether I'm missing anything else.