From b94f3416c1afe6363249b46bf2b299dfe8e4007f Mon Sep 17 00:00:00 2001 From: jloup Date: Tue, 1 May 2018 11:31:35 +0200 Subject: [PATCH] Session expires after 7 days. --- cmd/web/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; import ReactDOM from 'react-dom'; var App = {}; -var cookieExpire = 60 * 60 * 7; +var cookieExpire = 60 * 60 * 24 * 7; App.errorCodeToMessage = function(code) { switch (code) { -- 2.41.0