-
-
Notifications
You must be signed in to change notification settings - Fork 158
default signed or not when keys present #82
Copy link
Copy link
Open
Labels
Description
https://github.com/pillarjs/cookies/blob/master/lib/cookies.js#L74
https://github.com/pillarjs/cookies/blob/master/lib/cookies.js#L92
const cookies = new Cookies(req, res, ['key', 'keys']);
cookies.set('key', 'value'); // won't be signed
cookies.set('key', 'value', { maxAge: 100 }); // will be signednot sure if we should make them all be signed or not be signed, and both will break people's code.
Reactions are currently unavailable