angular-cookie icon indicating copy to clipboard operation
angular-cookie copied to clipboard

Fix options object being modified

Open mingyugao opened this issue 8 years ago • 0 comments

If the user does ipCookie.remove and has its expires options updated to an expiry date, then the next time they save, that options object has been replaced by the expired date.

Not modifying user’s options would be best.

mingyugao avatar Jan 15 '18 19:01 mingyugao