Adjustable duration of expiration of VerificationToken #42107
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: authentication
feature: users and groups
How to use GitHub
Is your feature request related to a problem? Please describe.
When invoking the $this->verificationToken->create() method, it consistently sets the expiration for 7 days. However, there is a requirement to configure the token expiry for a different duration, such as 1 day.
Describe the solution you'd like
We can pass expiry time as argument of
create()
method hereDescribe alternatives you've considered
Additional context
We have a requirement to set token expiration at specific intervals, like 15 minutes or 1 day. To address this, I am suggesting an enhancement.
The text was updated successfully, but these errors were encountered: