fix(core.gbapp): #387 adding /setupSecurity multiple tokens. Refresh token fix. @othonlima.
This commit is contained in:
parent
dbf0d965cd
commit
f6557df78e
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ export class GBMinService {
|
|||
await this.adminService.setValue(instance.instanceId,
|
||||
`${tokenName}expiresOn`, token['expiresOn'] ?
|
||||
token['expiresOn'].toString() :
|
||||
new Date(Date.now() + token['expires_in']).toString());
|
||||
new Date(Date.now() + (token['expires_in']*1000)).toString());
|
||||
await this.adminService.setValue(instance.instanceId, `${tokenName}AntiCSRFAttackState`, null);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue