#7897 - masterTest_24_36 #2909

Merged
jsegarra merged 132 commits from 7897_masterTest_24_36 into master 2024-09-03 06:37:54 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit d2a61cf18d - Show all commits

View File

@ -29,8 +29,9 @@ module.exports = Self => {
return token;
// Schedule to remove current token
setTimeout(() => {
Self.logout(token.id);
setTimeout(async() => {
if (await models.AccessToken.findById(token.id))
await Self.logout(token.id);
}, courtesyTime * 1000);
// Get scopes