Please check the breaking and important changes of each major release. Probably https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-97305-IntroduceCSRF-likeLoginToken.html is the reason for this if you have your own felogin template.