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=b94f3416c1afe6363249b46bf2b299dfe8e4007f;hp=17b685396a34cb1fef8439e1b6802c6b7f59fbe2;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) {