ustaxcourt / ef-cms

An Electronic Filing / Case Management System.
https://dawson.ustaxcourt.gov/
Other
88 stars 47 forks source link

10313 Bug: Change Email Verification Link Does Not Expire #5467

Closed Mwindo closed 3 weeks ago

Mwindo commented 1 month ago

The change email verification link is supposed to expire after an hour24 hours; it never expires. This PR addresses the issue and allows the user to resend a verification email.

Ticket: https://github.com/orgs/flexion/projects/11/views/1?pane=issue&itemId=76509729&issue=flexion%7Cef-cms%7C10313

Based on to-test PRs here: https://github.com/ustaxcourt/ef-cms/pull/5405, https://github.com/ustaxcourt/ef-cms/pull/5417, https://github.com/ustaxcourt/ef-cms/pull/5446

Note that anyone who has tried to reset their password within the 24-hour window before deploying this code will have their token forcibly expired. Because of our deployment schedule, I do not know of a good way around this. I don't think it should affect many (if any) users; the worst case scenario in this case is that the user will have to log in and click the new "Resend verification link" button.


Implementation notes: