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 {
1616import { ServerManagerAuthenticationSession } from "./authenticationSession" ;
1717import { globalState } from "./commonActivate" ;
1818import { getServerSpec } from "./api/getServerSpec" ;
19- import { makeRESTRequest } from "./makeRESTRequest" ;
19+ import { logout , makeRESTRequest } from "./makeRESTRequest" ;
2020
2121export const AUTHENTICATION_PROVIDER = "intersystems-server-credentials" ;
2222const AUTHENTICATION_PROVIDER_LABEL = "InterSystems Server Credentials" ;
@@ -230,6 +230,8 @@ export class ServerManagerAuthenticationProvider implements AuthenticationProvid
230230 await this . _removeSession ( session . id , true ) ;
231231 return false ;
232232 }
233+ // Immediately log out the session created by credentials test
234+ await logout ( session . serverName ) ;
233235 }
234236 this . _checkedSessions . push ( session ) ;
235237 return true ;
You can’t perform that action at this time.
0 commit comments