I found the loginTokens unser each user can grow infinitely, and if user does not call methods like logoutOtherClients
, they will not get cleared.
Is there any automatical mechanism to prevent this happenning? (tokens grow infinitely)
minhna
2
I don’t have that problem. My apps runs for months, the most tokens one user has is 4. But if you want to remove old token, you can find them.
'services.resume.loginTokens.when': { $lt: somedate }
I have got the anwser here
so I think this thread coud be closed
1 Like