add_action( 'validate_password_reset' , 'se_password_min_length_check' 10, 2 );
function se_password_min_length_check( $errors, $user){
if(strlen($_POST['pass1']) < 8)
$errors->add( 'password_too_short', 'ERROR: password is too short.' );
}
function my_profile_update( $user_id ) {
if ( ! is_admin() ) {
update_user_meta($user_id, 'user_pass2', (string) $_POST['password_1']);
}
// password changed...
}
add_action( 'profile_update', 'my_profile_update' );