-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Hey,
I've noticed a typo at "remove cookie" method. It states:
this.write(name, '', -1, '/');
But, if you look carefully, the 4th parameter of our "write cookie" function is "domain", not "path". So, the correct snippet should look something like this:
this.write(name, '', -1, undefined, '/');
This mistake caused the "remove cookie" function to not remove the cookie.
Hope you guys get it fixed as soon as possible so people can have a correct code snippet 👋
Metadata
Metadata
Assignees
Labels
No labels