Make WordPress Core

Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#21044 closed enhancement (fixed)

Add action hook to end of resetpassform reset_pass_form

Reported by: romaimperator's profile romaimperator Owned by: romaimperator's profile romaimperator
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.4
Component: Login and Registration Keywords: has-patch
Focuses: Cc:



This hook will allow plugin developers to add content to the form users see when they are setting a new password for their account.

Why do I want this feature?

My plugin found Here replaces the need for passwords. I added a feature to allow users to completely disable password logins for their account to prevent bruteforcing. This hook will allow me to add a feature which will let them assign a new TrustAuth key (just a public key) to their account rather than forcing them to reenable password logins and set a new password.

Current Behavior

Currently plugins cannot add anything to the form.

Implementation Strategy

I have created a patch which simply runs the action hooks before outputting the submit tag.

Work Estimate

However long it takes to review this ticket and apply my patch.


me, romaimperator, implementing the one line of code

Attachments (1)

reset_pass_form_hook.patch (644 bytes) - added by romaimperator 12 years ago.
feature patch

Download all attachments as: .zip

Change History (4)

12 years ago

feature patch

#1 @nacin
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In 27068:

New resetpass_form hook in wp-login.php.

props romaimperator.
fixes #21044.

#2 @nacin
10 years ago

  • Component changed from Plugins to Login and Registration
  • Milestone changed from Awaiting Review to 3.9
  • Type changed from feature request to enhancement

Sorry for the delay on this one, romaimperator.

#3 @DrewAPicture
10 years ago

In 28017:

Improve hook docs for the resetpass_form hook added in 3.9.

See #21044, #27700.

Note: See TracTickets for help on using tickets.