How can I disable the password at check WP?

Users frightened by the generation of password. How can I disable?
June 10th 19 at 16:08
1 answer
June 10th 19 at 16:10
And to disable how? Do not remove the same function. - ara65 commented on June 10th 19 at 16:13
why to remove it, just disconnect it from the password field - Courtney49 commented on June 10th 19 at 16:16
How? I googled. There's nothing there. Just the opposite. Show that such a function is, and you can use it all. - ara65 commented on June 10th 19 at 16:19
the system standard or have finished? To know the file hierarchy - Courtney49 commented on June 10th 19 at 16:22
The system itself is standard. Was finished only after functions.php. - ara65 commented on June 10th 19 at 16:25
in the File wp-login have this feature. Cut it, add in a registration function field enter the password exactly the same as the login email. - Courtney49 commented on June 10th 19 at 16:28
I do not understand. Through functions.php no way to disable? - ara65 commented on June 10th 19 at 16:31
Through functions.php you can disable the password for reset a

// disable random password
add_filter( 'random_password', 'itsg_disable_random_password', 10, 2 );

function itsg_disable_random_password( $password ) {
 $action = isset( $_GET['action'] ) ? $_GET['action'] : ";
 if ( 'wp-login.php' === $GLOBALS['pagenow'] && ( 'rp' == $action || 'resetpass' == $action ) ) {
 return ";
}
 return $password;
}
- rosario.Marv commented on June 10th 19 at 16:34
Yes you do not touch this functions.php :)
Go to the root of the site, there is wp-login.php locate the form with the same Neumann and id
name="resetpassform" id="resetpassform"
Next look for input
<input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input password-input" size="24" value autocomplete="off" aria-describedby="pass-strength-result">

and replace it
<input type="password" data-reveal="1" name="pass1" id="pass1" class="input password-input" size="24" value autocomplete="off" aria-describedby="pass-strength-result">

And not to forget about checking on the completion of the field yet.
And that's all. - Courtney49 commented on June 10th 19 at 16:37
Thank you all. Sorry, that was missing. - ara65 commented on June 10th 19 at 16:40
Yes that's okay) - Courtney49 commented on June 10th 19 at 16:43

Find more questions by tags WordPress