Skip to content

Commit 66d32c6

Browse files
committed
Fix more SASL. Thank God for tests.
1 parent fdf13ba commit 66d32c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class Client extends EventEmitter {
248248
this._checkPgPass(() => {
249249
this.saslSession = sasl.startSession(msg.mechanisms)
250250
const con = this.connection
251-
con.sendSASLInitialResponseMessage(saslSession.mechanism, saslSession.response)
251+
con.sendSASLInitialResponseMessage(this.saslSession.mechanism, this.saslSession.response)
252252
})
253253
}
254254

0 commit comments

Comments
 (0)