Correction to: Nature https://doi.org/10.1038/s41586-022-04502-wPublished online 16 March 2022

In the version of this article initially published, there were presentation errors in Fig. 3f and in Extended Data Fig. 2c (a placeholder image appeared rather than the final version). The figure panel images and Source Data for Fig. 3 have been replaced. Further, numbers in the caption for Fig. 1f, now reading “n = 9 (control PBS), n = 8 (prednisolone + PBS) and n = 9 (prednisolone + C. albicans),” were adjusted downward by one, while the Extended Data Fig. 2c caption has been expanded to include “n = 9 (DSS + control PBS) and n = 7 (DSS + C. albicans).” The changes have been made to the HTML and PDF versions of the article.