Created on 
    
	
		
		
		11-07-2024
	
		
		06:09 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		11-07-2024
	
		
		06:09 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		 Jean-Philippe_P
		
			Jean-Philippe_P
		
		
		
		
		
		
		
		
	
			 
		
| Description | This article describes how to change the default validity of FortiToken Mobile Activation Code. | 
| Scope | FortiGate | 
| Solution | The default validity of FortiToken Mobile Activation code is 72 hours (3 days). This can be decreased/increased under global configuration. Minimum: 1hour and Maximum: 168 hours 
 config system global set two-factor-ftm-expiry 120 ---> changed to 120 hours (5 days). end 
 Example with a default config: 
 
 After changing to 120 hours: 
 | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.