#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 4 additions and 1 deletions
Showing only changes of commit 4d820f1003 - Show all commits

View File

@ -30,8 +30,11 @@ module.exports = Self => {
// Schedule to remove current token
setTimeout(async() => {
if (await models.AccessToken.findById(token.id))
try {
await Self.logout(token.id);
} catch (error) {
// FIXME: Crash if do throw new Error(error)
}
}, courtesyTime * 1000);
// Get scopes