I use django.core.signing.Signer...usually i store identifiers and a
timestamp which will be checked upon a request. You should check it out!
On Wednesday, October 23, 2019 at 3:06:17 PM UTC+2, prabhakaran karthikeyan
wrote:
>
> If an user requests a password reset link, clicking on it will
You could do this quite easily by just querying the table storing reset keys
for objects belonging to the user and expiring them (setting the date to the
past, or setting an expire bit).
However, IMO it is far better to just generate another one, and have them
expire automatically after either
Why give out more than one link? Why not use get_or_create to make link or
use existing link for that user?
Op woensdag 23 oktober 2019 15:06:17 UTC+2 schreef prabhakaran karthikeyan:
>
> If an user requests a password reset link, clicking on it will make the
> link expirable. Suppose, user
If an user requests a password reset link, clicking on it will make the
link expirable. Suppose, user requests more than one link mistakenly, just
need to expire the first link . The user should get reset form only from
recent link. Any help is appreciated. Thank You.
--
You received this
4 matches
Mail list logo