Closed lzztt closed 7 years ago
mongo store added two new fields (sid and ttl) to the session data (in set(sid, sess, ttl))
sid
ttl
set(sid, sess, ttl)
Issue found by user yuu2lee4:
yuu2lee4
from: yuu2lee4 and i found a strange thing, i seted session.user, then i console it, the object has no 'sid' and 'ttl' , but after i setted session.pin , it has 'sid' and 'ttl'
thanks @longztian! fixed in https://github.com/pavelvlasov/koa-generic-session-mongo/commit/355eaa24ed3eec62aee4d21ec1e92ed3fba2ee5c
mongo store added two new fields (
sid
andttl
) to the session data (inset(sid, sess, ttl)
)Issue found by user
yuu2lee4
: