Secbone / koa-session2

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

may be ais a bug #49

Closed lizhihui888 closed 6 years ago

lizhihui888 commented 6 years ago

need_refresh = false ctx.session.refresh = () => {need_refresh = true}

need_refresh has no let or var ,it's may be global

Secbone commented 6 years ago

@lizhihui888 Thanks, I will fix it. ( I must have written too much Python during this time. 😞