Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @johnm243

    Yes, Please add define(‘TWO_FACTOR_DISABLE’, true); in wp-config.php and try it wil disable 2FA.

    When you want to enable again remove it or set false.

    Thread Starter johnm243

    (@johnm243)

    Thanks @hjogiupdraftplus. If I read this correctly, I add this to the wp-config.php in order to disable 2FA:

    define(‘TWO_FACTOR_DISABLE’, true);

    There is no plugin name associated? iThemes Security uses:

    define('ITSEC_DISABLE_TWO_FACTOR', true);

    Also, iThemes Security can be completely disabled using this:

    define('ITSEC_DISABLE_MODULES', true);

    Can All-In-One Security (AIOS) – Security and Firewall be completely disabled in wp-config.php?

    Thanks again,

    John

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @johnm243

    Yes, below is right.

    define(‘TWO_FACTOR_DISABLE’, true);

    If you would like to deactivate the plugin you may go to wp-admin panle plugins list and deactivate the All in one security plugin.

    Regards

    Thread Starter johnm243

    (@johnm243)

    Noted @hjogiupdraftplus, thanks very much!

    Please consider a way to allow All-In-One Security (AIOS) – Security and Firewall to be completely disabled in wp-config.php.

    Personally, I believe all plugins should allow this: it makes it very easy to find which plugin is causing problems with a website!

    Thanks again,

    John

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    @johnm243

    Thanks for suggestion. I will create internal ticket to for it.

    Regards

    When I add that in wpconfig, no matter where I add it, the site goes down. Inaccessible.

    I need it disabled because I am not getting the splash screen. I get my login and captcha, but then it tells me I did not enter the correct 2fa, without ever asking for it.

    anyplace I put it I get this in the logs:

    PHP Fatal error: Uncaught Error: Undefined constant “‘TWO_FACTOR_DISABLE’” in?

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @core

    It seems you have directly copied from the code preview. here the single quote to be used TWO_FACTOR_DISABLE as string.

    define(‘TWO_FACTOR_DISABLE’, true);

    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Turn Off 2FA temporarily’ is closed to new replies.