Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom decode passed to koa-session #1

Open
haoxins opened this issue Jul 8, 2015 · 0 comments
Open

custom decode passed to koa-session #1

haoxins opened this issue Jul 8, 2015 · 0 comments

Comments

@haoxins
Copy link
Member

haoxins commented Jul 8, 2015

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

@haoxins haoxins self-assigned this Jul 8, 2015
@haoxins haoxins removed their assignment Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant