#7896 - 24.36 Dev To Test #2884

Merged
jsegarra merged 118 commits from dev into test 2024-08-27 10:32:53 +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; return token;
// Schedule to remove current token // Schedule to remove current token
setTimeout(() => { setTimeout(async() => {
Self.logout(token.id); if (await models.AccessToken.findById(token.id))
await Self.logout(token.id);
}, courtesyTime * 1000); }, courtesyTime * 1000);
// Get scopes // Get scopes