File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -247,15 +247,13 @@ class Client extends EventEmitter {
247
247
_handleAuthSASL ( msg ) {
248
248
this . _checkPgPass ( ( ) => {
249
249
this . saslSession = sasl . startSession ( msg . mechanisms )
250
- const con = this . connection
251
- con . sendSASLInitialResponseMessage ( this . saslSession . mechanism , this . saslSession . response )
250
+ this . connection . sendSASLInitialResponseMessage ( this . saslSession . mechanism , this . saslSession . response )
252
251
} )
253
252
}
254
253
255
254
_handleAuthSASLContinue ( msg ) {
256
- const { saslSession } = this
257
- sasl . continueSession ( saslSession , this . password , msg . data )
258
- con . sendSCRAMClientFinalMessage ( saslSession . response )
255
+ sasl . continueSession ( this . saslSession , this . password , msg . data )
256
+ this . connection . sendSCRAMClientFinalMessage ( this . saslSession . response )
259
257
}
260
258
261
259
_handleAuthSASLFinal ( msg ) {
You can’t perform that action at this time.
0 commit comments