I read this from a message in a WhatsApp group, maybe helpful to you:
"If you or any of your accompanying family members currently holds a valid temporary resident visa, study permit, or work permit for Canada in an expired passport, please submit the expired password with your current passport"