PTPN2 deficiency results in reduced antimicrobial peptide production in response to mAIEC infection. Here, PTPN2 is linked to infection.