fix(core.gbapp): #387 adding /setupSecurity multiple tokens. Refresh token fix. @othonlima.
This commit is contained in:
parent
8a7dcb5198
commit
4bd2340613
1 changed files with 1 additions and 5 deletions
|
@ -617,12 +617,8 @@ export class GBVMService extends GBService {
|
|||
|
||||
global[tokenName] = token;
|
||||
global[tokenName + "_expiresOn"]= expiresOn;
|
||||
|
||||
console.log(tokenName + ' updated.');
|
||||
}
|
||||
console.log(i);
|
||||
if (i === 0) {
|
||||
console.log('auth defined bear OK: ' + global[tokenName]);
|
||||
if (i == 0) {
|
||||
headers['Authorization'] = 'Bearer ' + global[tokenName];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue