`options` parameter not specified in `destroyCookie` doc
Closed this issue · 3 comments
lcswillems commented
I wanted to destroy a cookie called authToken
, on client side. According to the documentation, I used:
destroyCookie(undefined, 'authToken');
But it wasn't working. After looking to the source code, I found that I wasn't specifying the good options (but the doc doesn't mention the options
).
damien-monni commented
Same for me, it wasn't destroyed because I wasn't using domain and path options, but I set them when I created the cookie.
fabioruolo commented
there you go: #201
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.