aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorjloup <jeanloup.jamet@gmail.com>2018-04-16 09:56:19 +0200
committerjloup <jeanloup.jamet@gmail.com>2018-04-16 09:56:19 +0200
commit1fc43bfa508b3579ca5a8944f8fc3e84cacee500 (patch)
tree84ed48a579b875cf215adf74e333a690f3459b0a /cmd
parent82a14eda4a89c2f2e98b79941422b77d6eded5ef (diff)
downloadFront-1fc43bfa508b3579ca5a8944f8fc3e84cacee500.tar.gz
Front-1fc43bfa508b3579ca5a8944f8fc3e84cacee500.tar.zst
Front-1fc43bfa508b3579ca5a8944f8fc3e84cacee500.zip
Set session expire to 7 days.v0.0.4
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/js/app.js b/cmd/web/js/app.js
index d8189e0..5ac4335 100644
--- a/cmd/web/js/app.js
+++ b/cmd/web/js/app.js
@@ -6,7 +6,7 @@ import React from 'react';
6import ReactDOM from 'react-dom'; 6import ReactDOM from 'react-dom';
7 7
8var App = {}; 8var App = {};
9var cookieExpire = 60 * 30; 9var cookieExpire = 60 * 60 * 7;
10 10
11App.errorCodeToMessage = function(code) { 11App.errorCodeToMessage = function(code) {
12 switch (code) { 12 switch (code) {