mirror of https://gogs.blitter.com/RLabs/xs
				
				
				
			Fixed hkexauth fields expected
This commit is contained in:
		
							parent
							
								
									8bca54ed7b
								
							
						
					
					
						commit
						5f1d57f987
					
				| 
						 | 
				
			
			@ -30,7 +30,7 @@ func AuthUser(username string, auth string, fname string) (valid bool, allowedCm
 | 
			
		|||
 | 
			
		||||
	r.Comma = ':'
 | 
			
		||||
	r.Comment = '#'
 | 
			
		||||
	r.FieldsPerRecord = 4 // username:salt:authCookie:disallowedCmdList (a,b,...)
 | 
			
		||||
	r.FieldsPerRecord = 3 // username:salt:authCookie [TODO:disallowedCmdList (a,b,...)]
 | 
			
		||||
	for {
 | 
			
		||||
		record, err := r.Read()
 | 
			
		||||
		if err == io.EOF {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue