example
example copied to clipboard
Wrong example?
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the issue has not already been raised
Issue
Was looking at that example line here: https://github.com/fastify/example/blob/master/fastify-session-authentication/authentication.js#L18 Shouldn't "expires" be a part of "cookie" object? (according to documentation)
Yes, expires is part of the cookie-options
Was fixed in #27