Skip to content

Commit 187fc66

Browse files
committed
Fix-up c48332a
1 parent 41b49bd commit 187fc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/auth/sasl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(i
166166
return err
167167
}
168168

169-
err := s.AuthPlain(username, password)
169+
err = s.AuthPlain(username, password)
170170
if err != nil {
171171
s.Log.Error("authentication failed", err, "username", username, "src_ip", remoteAddr)
172172
return ErrInvalidAuthCred

0 commit comments

Comments
 (0)