how to get password from user instead wp-generate-password

The problem related to the getting password from $_POST[‘register_password’] variable
its must between parentheses like that:

// Nonce is checked, Get to work
$info = array();
$info['user_nicename'] = $info['nickname'] = $info['display_name'] = $info['first_name'] = $info['user_login'] = sanitize_user( $_POST['register_username'] ) ;
$info['user_pass'] = ($_POST['register_password']);
$info['user_email'] = sanitize_email( $_POST['register_email'] );