Can user_register output the password?

There’s an action hook in /wp-admin/includes/user.php to check if both password fields match:

add_action( 'check_passwords', function( $user, $pass1, $pass2 ) 
{
    var_dump($pass1);
    die();
}, 10, 3 );