WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 3 months ago

Last modified 11 days ago

#21044 closed enhancement (fixed)

Add action hook to end of resetpassform reset_pass_form

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

Description

Description

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.

Commitments

me, romaimperator, implementing the one line of code

Attachments (1)

reset_pass_form_hook.patch (644 bytes) - added by romaimperator 22 months ago.
feature patch

Download all attachments as: .zip

Change History (4)

romaimperator22 months ago

feature patch

comment:1 nacin3 months 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.

comment:2 nacin3 months 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.

comment:3 DrewAPicture11 days 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.