Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#45143 new enhancement

If the "recover password" form submit button is double-clicked two emails will be sent

Reported by: tiia-rantanen's profile Tiia Rantanen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Login and Registration Keywords: dev-feedback 2nd-opinion needs-patch
Focuses: Cc:

Description

Some users tend to double-click all buttons and links. On the password recovery form (/wp-login.php?action=lostpassword) when the submit button is double-clicked, two emails will be sent. At this point the user is confused about which link to use to recover the password and fails finishing the recovery.

It would be good for the submit button to have a time limit or some other means to prevent a double-click from happening.

Attachments (2)

45143.diff (493 bytes) - added by manzoorwani.jk 6 years ago.
45143-1.diff (431 bytes) - added by manzoorwani.jk 6 years ago.
With fixed coding standards

Download all attachments as: .zip

Change History (4)

#1 @mukesh27
6 years ago

  • Keywords dev-feedback 2nd-opinion needs-patch added; ux-feedback removed
  • Summary changed from If the "recover password"-form submit button is double-clicked two emails will be sent to If the "recover password" form submit button is double-clicked two emails will be sent

Hi @tiia-rantanen, Welcome to WordPress Trac! Thank you for your ticket.

Nice cache. System send multiple password reset links to an account when we click multiple time in recover password button so system has to disable double click event on button using JS code.

Last edited 6 years ago by mukesh27 (previous) (diff)

#2 @manzoorwani.jk
6 years ago

Since the form is submitted without using JS and the submission anyway results in page reload, disabling the button on click looks to be a potential solution.

@manzoorwani.jk
6 years ago

@manzoorwani.jk
6 years ago

With fixed coding standards

Note: See TracTickets for help on using tickets.