Skip to content

Commit faa0f38

Browse files
committed
Keep ConnectionParameters’s password property writable
`Client` writes to it when `password` is a function.
1 parent 26e3a75 commit faa0f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/pg/lib/connection-parameters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var ConnectionParameters = function (config) {
6161
Object.defineProperty(this, 'password', {
6262
enumerable: false,
6363
configurable: false,
64-
writable: false,
64+
writable: true,
6565
value: password
6666
})
6767

0 commit comments

Comments
 (0)