[wp-trac] [WordPress Trac] #49860: Add a filter to disable the "Lost password" ability completely

WordPress Trac noreply at wordpress.org
Thu Apr 9 17:26:31 UTC 2020


#49860: Add a filter to disable the "Lost password" ability completely
------------------------------------+------------------------------
 Reporter:  ttodua                  |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:                          |     Focuses:
------------------------------------+------------------------------

Comment (by ttodua):

 Replying to [comment:4 Otto42]:
 1) filtering "Lost password" link - ah, nice catch, how I hadn't thought
 about that. will attach new patch.
 2) 'allow_password_reset_for_existing_users' - i will change to shorter...

 generally, changing the whole login screen is not any point of the patch.
 It requires the technical/designer interventions, while just using 3-rd
 party plugins (for FB/GOOGLE login) just does all the thing. the only
 missing thing there was to "disable Lost password" and that would be nice
 to be hookable something like the proposed patch. Personally I am working
 on one plugin (with external service login) which would then just have a
 simple option to hook into WP, to ALLOW/DISALLOW forgot password.

 btw, adding class for "username field" would have been also good, as it's
 a pure <p> tag at this moment, impossible to be targeted from CSS easily.
 (using advanced phseudo first-child selectors or like that, which is not
 good)

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


More information about the wp-trac mailing list