Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionut Trestian committed Nov 24, 2017
2 parents f661903 + c71bdc4 commit b70ef51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CookieStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class CookieStorage {
} else {
this.path = '/';
}
if (data.expire){
if (data.hasOwnProperty('expires')){
this.expires = data.expires;
} else {
this.expires = 365;
Expand Down

0 comments on commit b70ef51

Please sign in to comment.