There was a problem loading the comments.

Disable Two Factor Authentication in Magento 2.4

Support Portal  »  General  »  Viewing Article

  Print

If you install Magento 2.4 via Softaculous, you'll also have two-factor authentication enabled.

Sadly Magento configures the default address to owner@example.com, meaning you'll never be able to get your 2FA token, due to the fact emails cannot be sent via owner@example.com 

 

To get access to the admin interface, you'll have to disable the Two Factor Authentication module in Magento.

To do this, you have to access the console (e.g. Terminal in cPanel), go to the directory where your Magento installation is (Often public_html).

After this run:

php bin/magento module:disable Magento_TwoFactorAuth

J81sIC1tZKBRrmvGHNXnpTOU8A5dsgcOn5beOrVP2Q.png

You'll now be able to actually log into Magento.

Attachments


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA
© PerfGrid