Is your feature request related to a problem? Please describe.
In the Forgot Password flow, the “Send/Resend Reset Link” button can be clicked multiple times consecutively. This may result in multiple password reset emails being sent, causing user confusion and unnecessary load on the email service and backend.
Describe the solution you'd like
After the user clicks the “Send/Resend Link” button, it should be temporarily disabled for a fixed cooldown period (e.g., 30–60 seconds). During this time, the UI can display a countdown timer or a message such as “You can resend the link in X seconds” to clearly communicate the wait time.
Describe alternatives you've considered
- Showing only a static message without disabling the button
- Relying solely on backend rate limiting without any UI feedback
Additional context
This pattern is commonly used in authentication flows (email verification, password reset, OTP resend) to improve user experience and prevent Too Many Requests error.
🚨 DO NOT EDIT BELOW THIS LINE 🚨
Instructions for Requesting Assignment:
To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:
Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.
Expected Timeline:
- End date: [Expected submission date of a completed Pull Request]
Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.
🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.