File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
16
16
import { ServerManagerAuthenticationSession } from "./authenticationSession" ;
17
17
import { globalState } from "./commonActivate" ;
18
18
import { getServerSpec } from "./api/getServerSpec" ;
19
- import { makeRESTRequest } from "./makeRESTRequest" ;
19
+ import { logout , makeRESTRequest } from "./makeRESTRequest" ;
20
20
21
21
export const AUTHENTICATION_PROVIDER = "intersystems-server-credentials" ;
22
22
const AUTHENTICATION_PROVIDER_LABEL = "InterSystems Server Credentials" ;
@@ -230,6 +230,8 @@ export class ServerManagerAuthenticationProvider implements AuthenticationProvid
230
230
await this . _removeSession ( session . id , true ) ;
231
231
return false ;
232
232
}
233
+ // Immediately log out the session created by credentials test
234
+ await logout ( session . serverName ) ;
233
235
}
234
236
this . _checkedSessions . push ( session ) ;
235
237
return true ;
You can’t perform that action at this time.
0 commit comments