Skip to content

Commit

Permalink
fix: correctly announce SASL LOGIN capabilty
Browse files Browse the repository at this point in the history
  • Loading branch information
mlipscombe committed Feb 10, 2025
1 parent 01c65cf commit 68e3065
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 @@ -62,7 +62,7 @@ func (s *SASLAuth) SASLMechanisms() []string {

if len(s.Plain) != 0 {
mechs = append(mechs, sasl.Plain)
if s.OnlyFirstID {
if s.EnableLogin {
mechs = append(mechs, sasl.Login)
}
}
Expand Down

0 comments on commit 68e3065

Please sign in to comment.