Skip to content

Adjustable duration of expiration of VerificationToken #42107

@theronakpatel

Description

@theronakpatel

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

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 here

Describe alternatives you've considered

  • N/A

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions