Solved: Magento 2.4.2 Admin Login Not Working on Localhost

I faced the same issue and implemented the below solution to resolve it.
Never miss Magento tips, tricks, tutorials, and news.
Thank you for subscribing.
unlock error message
That’s it.
Thank you.
Any doubts about this solution can be mentioned in the Comments section below.

Steps to Solve Magento 2.4.2 Admin Login Not Working on Localhost:

  1. Add extension=sodium to php.ini
  2. Copy php/libsodium.dll to apache/bin/
  3. Restart Server

If your admin login is not working properly after installing Magento 2.4.2 on localhost, I can relate!
I’d be happy to help.
Also, do share the post with Magento Community via social media.
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!

Get Weekly Updates

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:

Something went wrong.
If your Magento 2.4.2 admin login is not working on localhost, it is because the libsodium extension of apache is not enabled.




(based on 0 Reviews)