koajs / generic-session

koa session store with memory, redis or others.
MIT License
414 stars 65 forks source link

Store.set - TTL from cookie.maxAge is not set #111

Closed michalkvasnicak closed 7 years ago

michalkvasnicak commented 7 years ago

On this line we are working with maxage and not maxAge: https://github.com/koajs/generic-session/blob/master/lib/store.js#L60

michalkvasnicak commented 7 years ago

workaround for now is to set ttl explictly in options.