Downgrade Magento 2.4 to 2.3


I installed magento 2.4 with digital oceans one click install

An encountered the 2Factor Auth problem (not being able to access the admin panel)

Tried everything stated here: Magento 2.4.0 2 factor authentication issue

Didn´t work so i am thinking of switching from magento 2.4 to 2.3
How should i do it? or what else would you recommend?

I already tried installing mailutils to receive the email but didn’t work and also tried

composer require markshust/magento2-module-disabletwofactorauth

and didn´t work either


Downgrading will be a pain, because you’ll need to downgrade your entire LAMP stack too.

If you’re in a Development Environment, the easiest workaround it to disable 2FA completely until you setup SMTP:

bin/magento module:disable Magento_TwoFactorAuth

I’ve also read that the email may not be sending as the Postfix ports may be closed. So you could try adding Outbound Port Rules for 25, 465 and 587. I think those are all the SMTP ports for Postfix, but you’d want to double check.

You´re right, disabling 2FA worked! thanks i´ll also check de ports

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.