Skip to content

Instantly share code, notes, and snippets.

@deeshrestha
Created October 8, 2020 19:41
Show Gist options
  • Save deeshrestha/d79507e9e70d3413e83610e37fee93f0 to your computer and use it in GitHub Desktop.
Save deeshrestha/d79507e9e70d3413e83610e37fee93f0 to your computer and use it in GitHub Desktop.
Disable Two Factor Authentication on Magento 2.4 For Localhost Installations
Two Factor Authentication on Magento 2.4 is a bit of pain for those who are testing out on thier localhost.
After successful installation, we can disable this feature by using these commands
--------------------------------------------------------
$ bin/magento module:disable Magento_TwoFactorAuth
$ bin/magento cache:flush
$ bin/magento setup:di:compile
--------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment