From 84d53310dd0d3085627b700ff46198ccfac948cc Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 3 Jun 2017 14:37:59 +0200 Subject: [PATCH] Login state automaticaly refreshed --- assets/js/common/system.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/js/common/system.js b/assets/js/common/system.js index 0675fa29..d6f69646 100644 --- a/assets/js/common/system.js +++ b/assets/js/common/system.js @@ -51,6 +51,13 @@ ComunicWeb.common.system = { */ ComunicWeb.user.userLogin.refreshLoginState(afterLoginRefresh); + /** + * Automaticaly refresh login state + */ + var autoRefresh = setInterval((function(){ + ComunicWeb.user.userLogin.refreshLoginState(); + }), 15000); + //Sucess return true; },