@ -463,9 +463,9 @@ make_config! { 
			
		
	
		
		
			
				
					         invitation_expiration_hours : u32 ,   false ,   def ,   120 ;          invitation_expiration_hours : u32 ,   false ,   def ,   120 ;  
			
		
	
		
		
			
				
					         /// Allow emergency access |> Controls whether users can enable emergency access to their accounts. This setting applies globally to all users.
          /// Allow emergency access |> Controls whether users can enable emergency access to their accounts. This setting applies globally to all users.
  
			
		
	
		
		
			
				
					         emergency_access_allowed :    bool ,     true ,     def ,      true ;          emergency_access_allowed :    bool ,     true ,     def ,      true ;  
			
		
	
		
		
			
				
					
					         /// Password iterations |> Number of server-side passwords hashing iterations.
          /// Password iterations |> Number of server-side passwords hashing iterations for the password hash .
  
			
				
				
			
		
	
		
		
			
				
					
					         /// The changes only apply when a user changes their password. Not recommended to lower the value 
          /// The default for new users. If changed, it will be updated during login for existing users. 
  
			
				
				
			
		
	
		
		
			
				
					
					         password_iterations :    i32 ,      true ,     def ,      1 00_000;          password_iterations :    i32 ,      true ,     def ,      6 00_000;  
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					         /// Allow password hints |> Controls whether users can set password hints. This setting applies globally to all users.
          /// Allow password hints |> Controls whether users can set password hints. This setting applies globally to all users.
  
			
		
	
		
		
			
				
					         password_hints_allowed : bool ,     true ,     def ,      true ;          password_hints_allowed : bool ,     true ,     def ,      true ;  
			
		
	
		
		
			
				
					         /// Show password hint |> Controls whether a password hint should be shown directly in the web page
          /// Show password hint |> Controls whether a password hint should be shown directly in the web page
  
			
		
	
	
		
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
					@ -673,6 +673,10 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { 
			
		
	
		
		
			
				
					         }          }  
			
		
	
		
		
			
				
					     }      }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					     if   cfg . password_iterations   <   100_000   {  
			
		
	
		
		
			
				
					         err ! ( "PASSWORD_ITERATIONS should be at least 100000 or higher. The default is 600000!" ) ;  
			
		
	
		
		
			
				
					     }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					     let   limit   =   256 ;      let   limit   =   256 ;  
			
		
	
		
		
			
				
					     if   cfg . database_max_conns   <   1   | |   cfg . database_max_conns   >   limit   {      if   cfg . database_max_conns   <   1   | |   cfg . database_max_conns   >   limit   {  
			
		
	
		
		
			
				
					         err ! ( format ! ( "`DATABASE_MAX_CONNS` contains an invalid value. Ensure it is between 1 and {limit}." , ) ) ;          err ! ( format ! ( "`DATABASE_MAX_CONNS` contains an invalid value. Ensure it is between 1 and {limit}." , ) ) ;