• Resolved Chadest

    (@chadest)


    I stopped getting the auth codes via email, so I disabled the plugin.

    As noted everywhere, I pasted this code in my wp-config file:

    define(‘ITSEC_DISABLE_MODULES’, true);

    …and my custom login path has been disabled so it seems it at least partially disabled the plugin. But, when I go to the normal /wp-login.php, after logging in I’m asked for iThemes auth codes anyway.

    How can I fully turn this off so I can log into my site??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @chadest, you’ll want to use define('ITSEC_DISABLE_TWO_FACTOR', true); 2FA stuff.

    Hi @chadest,

    I can confirm the ITSEC_DISABLE_MODULES constant does not disable the 2FA module.

    As indicated by @atxmatt, use the ITSEC_DISABLE_TWO_FACTOR constant instead.

    +++++ To prevent any confusion, I’m not iThemes +++++

    Thread Starter Chadest

    (@chadest)

    Thanks @atxmatt & @nlpro!

    the 2FA specific line did the trick. Is there a list of these commands somewhere?

    Hi @chadest,

    The (optional) Debug submenu option file (core/admin-pages/page-debug.php) includes a list of all available constants. For convenience below a copy of the list:

    • ITSEC_USE_CRON
    • ITSEC_DISABLE_PASSWORD_REQUIREMENTS
    • ITSEC_DEVELOPMENT
    • ITSEC_DISABLE_MODULES
    • ITSEC_DISABLE_TWO_FACTOR
    • ITSEC_DISABLE_CRON_TEST
    • ITSEC_SERVER_OVERRIDE
    • ITSEC_DOING_FILE_CHECK
    • ITSEC_TEST_MALWARE_SCAN_SKIP_CACHE
    • ITSEC_TEST_MALWARE_SCAN_SITE_URL
    • ITSEC_TEST_MALWARE_SCAN_DISABLE_SSL_VERIFY
    • ITSEC_SUCURI_KEY
    • ITSEC_NOTIFY_USE_CRON
    • ITSEC_DISABLE_SECURITY_CHECK_PRO
    • ITSEC_DISABLE_AUTOMATIC_REMOTE_IP_DETECTION
    • ITSEC_DISABLE_PASSWORD_STRENGTH
    • ITSEC_DISABLE_INACTIVE_USER_CHECK
    • ITSEC_SHOW_FEATURE_FLAGS
    • ITSEC_ENABLE_BACKUPS
    • ITSEC_FORCE_UNINSTALL
    • ITSEC_IGNORE_MODULE_REQUIREMENTS
    • ITSEC_FORCE_INSTALL_TYPE

    The only constant not included in this list is ITSEC_DEBUG, which when properly set to true adds the optional Debug submenu option.

    You’re so awesome @nlpro! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disabled the plugin via wp-config but it’s still asking for Auth codes.’ is closed to new replies.