I have a receiver for post_save signal that detects and restricts multiple active access tokens from the same user.
In addition to this, I want to lock that detected user for a minute and reactivate the user once again by using the is_active
field of the user.
Is there a way to do this without creating and using a new model to store the start time of the account lock? Also, I think making a scheduled job for this is a bit overkill.