@ -333,6 +333,9 @@ make_config! { 
				
			 
			
		
	
		
		
			
				
					 
					 
					         /// Log level
  
					 
					 
					         /// Log level
  
				
			 
			
		
	
		
		
			
				
					 
					 
					         log_level :              String ,   false ,    def ,      "Info" . to_string ( ) ;  
					 
					 
					         log_level :              String ,   false ,    def ,      "Info" . to_string ( ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					
 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
					         /// Database connection pool max size.
  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
					         db_connection_pool_max_size : u32 , true ,    def ,      10 ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					 
					 
					         /// Enable DB WAL |> Turning this off might lead to worse performance, but might help if using bitwarden_rs on some exotic filesystems,
  
					 
					 
					         /// Enable DB WAL |> Turning this off might lead to worse performance, but might help if using bitwarden_rs on some exotic filesystems,
  
				
			 
			
		
	
		
		
			
				
					 
					 
					         /// that do not support WAL. Please make sure you read project wiki on the topic before changing this setting.
  
					 
					 
					         /// that do not support WAL. Please make sure you read project wiki on the topic before changing this setting.
  
				
			 
			
		
	
		
		
			
				
					 
					 
					         enable_db_wal :          bool ,     false ,    def ,      true ;  
					 
					 
					         enable_db_wal :          bool ,     false ,    def ,      true ;  
				
			 
			
		
	
	
		
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
					@ -425,7 +428,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { 
				
			 
			
		
	
		
		
			
				
					 
					 
					
 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					 
					 
					     let   dom   =   cfg . domain . to_lowercase ( ) ;  
					 
					 
					     let   dom   =   cfg . domain . to_lowercase ( ) ;  
				
			 
			
		
	
		
		
			
				
					 
					 
					     if   ! dom . starts_with ( "http://" )   & &   ! dom . starts_with ( "https://" )   {  
					 
					 
					     if   ! dom . starts_with ( "http://" )   & &   ! dom . starts_with ( "https://" )   {  
				
			 
			
		
	
		
		
			
				
					
					 
					 
					         err ! ( "DOMAIN variable needs to contain the protocol (http, https). Use 'http[s]://bw.example.com' instead of 'bw.example.com'" ) ;  
  
					 
					 
					         err ! ( "DOMAIN variable needs to contain the protocol (http, https). Use 'http[s]://bw.example.com' instead of 'bw.example.com'" ) ;  
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					 
					 
					     }  
					 
					 
					     }  
				
			 
			
		
	
		
		
			
				
					 
					 
					
 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					 
					 
					     if   let   Some ( ref   token )   =   cfg . admin_token   {  
					 
					 
					     if   let   Some ( ref   token )   =   cfg . admin_token   {