Skip to content

custom decode passed to koa-session #1

@haoxins

Description

@haoxins

https://github.com/onebook/koa-crypto-session/blob/master/index.js#L53-L55

// check if the cookie is expired
if (!json._expire) return null
if (json._expire < Date.now()) return null

this should be done by koa-session

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions