Solved: Magento 2.4.2 Admin Login Not Working on Localhost
Magento 2.4.2 released on February 09, 2021.
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 like this:
If your admin login is not working properly after installing Magento 2.4.2 on localhost, I can relate!
I faced the same issue and implemented the below solution to resolve it.
If your Magento 2.4.2 admin login is not working on localhost, it is because the libsodium extension of apache is not enabled.
Steps to Solve Magento 2.4.2 Admin Login Not Working on Localhost:
- Add extension=sodium to php.ini
- Copy php/libsodium.dll to apache/bin/
- Restart Server
Any doubts about this solution can be mentioned in the Comments section below.
I’d be happy to help.
Also, do share the post with Magento Community via social media.