diff options
-rw-r--r-- | public/js/common.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/common.js b/public/js/common.js index 7a2afdc5..03a3ff9e 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -28,11 +28,11 @@ function resetCheckAuth() { function setLoginState(bool, id) { Cookies.set('loginstate', bool, { - expires: 14 + expires: 365 }); if (id) { Cookies.set('userid', id, { - expires: 14 + expires: 365 }); } else { Cookies.remove('userid'); |