Experts recommend upgrading to the latest Magento 2 version asap in order to not only leverage the latest enhancements in performance but also improve the security of the store!
However, if you might have tried to install the Magento 2.4.2 in localhost and started to explore the admin panel, you may face an issue.
If your Magento 2.4.2 admin login is not working on localhost, it is because the libsodium extension of apache is not enabled.
Check the solution to avoid this issue at https://meetanshi.co...g-on-localhost/