Skip to content

Commit 68e3065

Browse files
committed
fix: correctly announce SASL LOGIN capabilty
1 parent 01c65cf commit 68e3065

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
@@ -62,7 +62,7 @@ func (s *SASLAuth) SASLMechanisms() []string {
6262

6363
if len(s.Plain) != 0 {
6464
mechs = append(mechs, sasl.Plain)
65-
if s.OnlyFirstID {
65+
if s.EnableLogin {
6666
mechs = append(mechs, sasl.Login)
6767
}
6868
}

0 commit comments

Comments
 (0)