Fix cert required (#1057)
This commit is contained in:
		
							parent
							
								
									8956bc8809
								
							
						
					
					
						commit
						7774910292
					
				@ -159,6 +159,7 @@ const hexOrBase64Validator = string().test({
 | 
			
		||||
  name: 'hex-or-base64',
 | 
			
		||||
  message: 'invalid encoding',
 | 
			
		||||
  test: (val) => {
 | 
			
		||||
    if (typeof val === 'undefined') return true
 | 
			
		||||
    try {
 | 
			
		||||
      ensureB64(val)
 | 
			
		||||
      return true
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user