fix(core.gbapp): #387 adding /setupSecurity multiple tokens. Refresh token fix. @othonlima.
This commit is contained in:
parent
ca7e24ee5a
commit
c6076c32ef
1 changed files with 1 additions and 8 deletions
|
@ -617,7 +617,7 @@ export class GBVMService extends GBService {
|
|||
global[i + "_expiresOn"]= expiresOn;
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
try{
|
||||
${code}
|
||||
|
@ -627,13 +627,6 @@ export class GBVMService extends GBService {
|
|||
}
|
||||
finally{
|
||||
|
||||
// Signals token refresh jobs to stop.
|
||||
|
||||
for(let i in tokens) {
|
||||
const token = tokens[i];
|
||||
tokenStops[token] = true;
|
||||
}
|
||||
|
||||
// Closes handles if any.
|
||||
|
||||
await wa.closeHandles({pid: pid});
|
||||
|
|
Loading…
Add table
Reference in a new issue