Increase cookie lifespan
This commit is contained in:
parent
305b7a58e9
commit
e795f96e00
|
@ -133,7 +133,8 @@
|
|||
/**
|
||||
* Saves the currently-selected signatures to a cookie.
|
||||
*/
|
||||
const saveSelectedSignaturesToCookie = () => Cookies.set("selectedSignatures", getSelectedSignatures().join(","));
|
||||
const saveSelectedSignaturesToCookie =
|
||||
() => Cookies.set("selectedSignatures", getSelectedSignatures().join(","), {expires: 5 * 365});
|
||||
|
||||
/**
|
||||
* Updates the button used to toggle all signatures on or off.
|
||||
|
|
Loading…
Reference in New Issue