diff --git a/src/lib/jar.js b/src/lib/jar.js index 035d17afd..343a3befa 100644 --- a/src/lib/jar.js +++ b/src/lib/jar.js @@ -71,6 +71,7 @@ var Jar = { }); }, set: function (name, value, opts) { + opts = opts || {}; defaults(opts, { expires: new Date(new Date().setYear(new Date().getFullYear() + 1)) });