Login state automaticaly refreshed

This commit is contained in:
Pierre 2017-06-03 14:37:59 +02:00
parent ef93399d92
commit 84d53310dd

View File

@ -51,6 +51,13 @@ ComunicWeb.common.system = {
*/ */
ComunicWeb.user.userLogin.refreshLoginState(afterLoginRefresh); ComunicWeb.user.userLogin.refreshLoginState(afterLoginRefresh);
/**
* Automaticaly refresh login state
*/
var autoRefresh = setInterval((function(){
ComunicWeb.user.userLogin.refreshLoginState();
}), 15000);
//Sucess //Sucess
return true; return true;
}, },