We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52e656c + f899f8f commit 1003bffCopy full SHA for 1003bff
packages/pg/lib/client.js
@@ -20,7 +20,7 @@ class Client extends EventEmitter {
20
this.database = this.connectionParameters.database
21
this.port = this.connectionParameters.port
22
this.host = this.connectionParameters.host
23
- this.enableChannelBinding = false // set true to use SCRAM-SHA-256-PLUS when offered
+ this.enableChannelBinding = Boolean(config.enableChannelBinding) // set true to use SCRAM-SHA-256-PLUS when offered
24
25
// "hiding" the password so it doesn't show up in stack traces
26
// or if the client is console.logged
0 commit comments