mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Login state automaticaly refreshed
This commit is contained in:
		@@ -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;
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user