diff options
author | jloup <jeanloup.jamet@gmail.com> | 2018-05-01 11:31:35 +0200 |
---|---|---|
committer | jloup <jeanloup.jamet@gmail.com> | 2018-05-01 11:33:06 +0200 |
commit | b94f3416c1afe6363249b46bf2b299dfe8e4007f (patch) | |
tree | d4ceb7295f8174fd07b6d036bd68f97011e3cb29 | |
parent | 17b685396a34cb1fef8439e1b6802c6b7f59fbe2 (diff) | |
download | Front-b94f3416c1afe6363249b46bf2b299dfe8e4007f.tar.gz Front-b94f3416c1afe6363249b46bf2b299dfe8e4007f.tar.zst Front-b94f3416c1afe6363249b46bf2b299dfe8e4007f.zip |
Session expires after 7 days.v0.0.5
-rw-r--r-- | cmd/web/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/js/app.js b/cmd/web/js/app.js index 5ac4335..c24a761 100644 --- a/cmd/web/js/app.js +++ b/cmd/web/js/app.js | |||
@@ -6,7 +6,7 @@ import React from 'react'; | |||
6 | import ReactDOM from 'react-dom'; | 6 | import ReactDOM from 'react-dom'; |
7 | 7 | ||
8 | var App = {}; | 8 | var App = {}; |
9 | var cookieExpire = 60 * 60 * 7; | 9 | var cookieExpire = 60 * 60 * 24 * 7; |
10 | 10 | ||
11 | App.errorCodeToMessage = function(code) { | 11 | App.errorCodeToMessage = function(code) { |
12 | switch (code) { | 12 | switch (code) { |