Skip to content

Commit

Permalink
Changed the "remember me" cookie from session to a long one.
Browse files Browse the repository at this point in the history
Fixes issue #15
  • Loading branch information
jamesronan committed Aug 6, 2013
1 parent e184c1d commit 140c672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
},
updateNameCookie: function() {
if (this.$el.find('input#persistname').prop('checked') === true) {
$.jCookie('poster', this.$el.find('input#poster').val()); // Set the cookie
$.jCookie('poster', this.$el.find('input#poster').val(), 365); // Set the cookie; For a year
} else {
$.jCookie('poster',null); // Delete the cookie.
}
Expand Down

0 comments on commit 140c672

Please sign in to comment.