[wp-trac] [WordPress Trac] #58410: global disable login and password reset / recovery

WordPress Trac noreply at wordpress.org
Sun May 28 23:44:14 UTC 2023


#58410: global disable login and password reset / recovery
------------------------------------+----------------------
 Reporter:  cederom                 |       Owner:  (none)
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:  wontfix
 Keywords:                          |     Focuses:
------------------------------------+----------------------
Changes (by peterwilsoncc):

 * status:  new => closed
 * version:  6.2.2 =>
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Hi @cederom and welcome to trac!

 I don't think adding such an option would be a good idea for a couple of
 reasons:

 * if set incorrectly, administrators may lock themselves out of their site
 if they don't have WP CLI access
 * it's additional code to maintain for a minority of sites

 As Jeff suggests in the comment above, this seems best served by a plugin
 in your case. You can lock these screens down using the
 `login_form_lostpassword`, `login_form_retrievepassword`, and
 `allow_password_reset` hooks.

 I'm going to close this off as unplanned as it's currently achievable via
 existing hooks.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58410#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list