File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 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 {
247247 _handleAuthSASL ( msg ) {
248248 this . _checkPgPass ( ( ) => {
249249 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 )
252251 } )
253252 }
254253
255254 _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 )
259257 }
260258
261259 _handleAuthSASLFinal ( msg ) {
You can’t perform that action at this time.
0 commit comments