From: jloup Date: Tue, 1 May 2018 09:31:35 +0000 (+0200) Subject: Session expires after 7 days. X-Git-Tag: v0.0.5 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Ftags%2Fv0.0.5;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git Session expires after 7 days. --- 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) {