Skip to content

Commit 0108fb1

Browse files
committed
Accept server's proposal of SCRAM-SHA-256-PLUS.
1 parent 0368700 commit 0108fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ func (cn *conn) auth(r *readBuf, o values) {
11651165
}
11661166
case 10:
11671167
s := r.string()
1168-
if s != "SCRAM-SHA-256" {
1168+
if s != "SCRAM-SHA-256" && s != "SCRAM-SHA-256-PLUS" {
11691169
errorf("unknown sasl mechanism: %q", s)
11701170
}
11711171
cn.doScramAuth(o["password"])

0 commit comments

Comments
 (0)