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; },