fix(core.gbapp): #387 adding /setupSecurity multiple tokens. Refresh token fix. @othonlima.
This commit is contained in:
parent
40d07a43c0
commit
145cb47724
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ export class GBVMService extends GBService {
|
||||||
const tokens = this.tokens ? this.tokens.split(',') : [];
|
const tokens = this.tokens ? this.tokens.split(',') : [];
|
||||||
|
|
||||||
for(i in tokens) {
|
for(i in tokens) {
|
||||||
const tokenNAme = tokens[i];
|
const tokenName = tokens[i];
|
||||||
const expiresOn = new Date(global[tokenName + "_expiresOn"]);
|
const expiresOn = new Date(global[tokenName + "_expiresOn"]);
|
||||||
|
|
||||||
if (expiresOn.getTime() > new Date().getTime()) {
|
if (expiresOn.getTime() > new Date().getTime()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue