Skip to content

Commit

Permalink
Fix-up c48332a
Browse files Browse the repository at this point in the history
  • Loading branch information
foxcpp committed Jan 29, 2025
1 parent 41b49bd commit 187fc66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auth/sasl.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(i
return err
}

err := s.AuthPlain(username, password)
err = s.AuthPlain(username, password)
if err != nil {
s.Log.Error("authentication failed", err, "username", username, "src_ip", remoteAddr)
return ErrInvalidAuthCred
Expand Down

0 comments on commit 187fc66

Please sign in to comment.