Secbone / koa-session2

Middleware for Koa2 to get/set session
MIT License
152 stars 30 forks source link

req.session.regenerate is not a function #59

Open snowdream opened 1 year ago

snowdream commented 1 year ago

when i use koa-session2 with koa-passport 6.0,I got the error:

req.session.regenerate is not a function

It seems to be because of this https://github.com/jaredhanson/passport/issues/907