aboutsummaryrefslogtreecommitdiff
path: root/cmd/web
diff options
context:
space:
mode:
authorjloup <jeanloup.jamet@gmail.com>2018-05-01 11:31:35 +0200
committerjloup <jeanloup.jamet@gmail.com>2018-05-01 11:33:06 +0200
commitb94f3416c1afe6363249b46bf2b299dfe8e4007f (patch)
treed4ceb7295f8174fd07b6d036bd68f97011e3cb29 /cmd/web
parent17b685396a34cb1fef8439e1b6802c6b7f59fbe2 (diff)
downloadFront-b94f3416c1afe6363249b46bf2b299dfe8e4007f.tar.gz
Front-b94f3416c1afe6363249b46bf2b299dfe8e4007f.tar.zst
Front-b94f3416c1afe6363249b46bf2b299dfe8e4007f.zip
Session expires after 7 days.v0.0.5
Diffstat (limited to 'cmd/web')
-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 5ac4335..c24a761 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 * 60 * 7; 9var cookieExpire = 60 * 60 * 24 * 7;
10 10
11App.errorCodeToMessage = function(code) { 11App.errorCodeToMessage = function(code) {
12 switch (code) { 12 switch (code) {