fix(basic.gblib): update ChatServices.ts #420
1 changed files with 5 additions and 3 deletions
|
|
@ -590,13 +590,15 @@ export class GBMinService {
|
||||||
await this.adminService.setValue(instance.instanceId, `${tokenName}expiresOn`, token['expiresOn'].toString());
|
await this.adminService.setValue(instance.instanceId, `${tokenName}expiresOn`, token['expiresOn'].toString());
|
||||||
await this.adminService.setValue(instance.instanceId, `${tokenName}AntiCSRFAttackState`, null);
|
await this.adminService.setValue(instance.instanceId, `${tokenName}AntiCSRFAttackState`, null);
|
||||||
|
|
||||||
// Inform the home for default .gbui after finishing token retrival.
|
|
||||||
|
|
||||||
res.redirect(process.env.BOT_URL);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// Inform the home for default .gbui after finishing token retrival.
|
||||||
|
|
||||||
|
res.redirect(process.env.BOT_URL);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue