How to disable password reset feature?
-
The login screen of the wp-admin area allows to initiate a password reset by klicking on ‘Lost your password?’. For security reasons, I wand to disable this feature.
In the code (wp-login.php), I discovered that there is already code for disabling this feature:
$allow = apply_filters(‘allow_password_reset’, true, $user_data->ID);But this filter appears nowhere else in the code.
Can anybody enlighten me how disabling the password reset can be achieved in an “official manner”? (Of course, I could hack the code, but then I had to remember to reapply the patch after every update …)
Thanks in advance,
Chris
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How to disable password reset feature?’ is closed to new replies.