You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/pg/lib/client.js
+5-2
Original file line number
Diff line number
Diff line change
@@ -223,10 +223,13 @@ class Client extends EventEmitter {
223
223
async_handleGSSContinue(msg){
224
224
try{
225
225
constinToken=msg.inToken
226
-
consttoken=awaitthis.client.step(inToken)
226
+
if(inToken==='oRQwEqADCgEAoQsGCSqGSIb3EgECAg=='){// spnegoNegTokenRespKRBAcceptCompleted - The response on successful authentication always has this header.
227
+
return;// negotiation successful, no need to do anything further.
228
+
}
227
229
230
+
consttoken=awaitthis.client.step(inToken)
228
231
// TODO: probably a better way to handle this.
229
-
if(token==null){
232
+
if(!token){
230
233
this.emit('error','Received null GSSAPI token on continue')
0 commit comments