forked from EVOgeek/Vmeda.Online
		
	MOBILE-4405 sites: Fix sites older than 4.3 autologout
This commit is contained in:
		
							parent
							
								
									0477eebcc2
								
							
						
					
					
						commit
						7e90f2eb91
					
				| @ -1487,6 +1487,11 @@ export class CoreSitesProvider { | |||||||
|         await CoreUtils.ignoreErrors(( async () => { |         await CoreUtils.ignoreErrors(( async () => { | ||||||
|             const siteId = await this.getStoredCurrentSiteId(); |             const siteId = await this.getStoredCurrentSiteId(); | ||||||
|             const site = await this.getSite(siteId); |             const site = await this.getSite(siteId); | ||||||
|  | 
 | ||||||
|  |             if (!site.isVersionGreaterEqualThan('4.3')) { | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             const autoLogoutType = Number(site.getStoredConfig('tool_mobile_autologout')); |             const autoLogoutType = Number(site.getStoredConfig('tool_mobile_autologout')); | ||||||
|             const autoLogoutTime = Number(site.getStoredConfig('tool_mobile_autologouttime')); |             const autoLogoutTime = Number(site.getStoredConfig('tool_mobile_autologouttime')); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user