django-rest-framework-passwordless icon indicating copy to clipboard operation
django-rest-framework-passwordless copied to clipboard

Why save instead of delete tokens?

Open dedonnodev opened this issue 4 years ago • 0 comments

Hi there, i'm using this awesome package for my project and i was investigate through the code and i saw that every expired tokens (6-digits) is saved in db. But for what reason? I mean, can't we just delete the row of the token after it expire (15 min default)?

dedonnodev avatar Feb 22 '21 21:02 dedonnodev