Fixed hkexauth fields expected

This commit is contained in:
Russ Magee 2018-09-08 22:01:33 -07:00
parent 8bca54ed7b
commit 5f1d57f987
1 changed files with 1 additions and 1 deletions

View File

@ -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 {