fossasia / accounts.susi.ai

Accounts Service for SUSI.AI http://accounts.susi.ai
GNU Lesser General Public License v2.1
1.5k stars 94 forks source link

Add a cooldown to forgot password form #739

Closed rossoskull closed 5 years ago

rossoskull commented 5 years ago

Actual Behaviour

Currently, there is no cooldown in the forgot password form, and the user can immediately resubmit the form after submitting the form.

Expected Behaviour

The form should be disabled after the user has submitted the form, and should be activated if an error occurs while sending the mail or after a set time if the mail is successfully sent.

Steps to reproduce it

Open the forgot password modal, enter your email and submit the form.

Would you like to work on the issue?

Yes

harsh-jindal commented 5 years ago

I am working on this

akshatnitd commented 5 years ago

No need to solve this issue. Refer this for comments - https://github.com/fossasia/susi_skill_cms/pull/1959