• michaelmossey

    (@michaelmossey)


    I have a locally installed WordPress site with iThemes security. I made the mistake of turning on 2-factor authentication before I had configured a way to send me email, so I don’t seem to be able to log in. Can I get a suggestion as to how to disable that by tweaking files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • nlpro

    (@nlpro)

    According to the Pro 3.6.0 Changelog:

    Enhancement: Added check for the ITSEC_DISABLE_TWO_FACTOR define which allows for disabling all two-factor authentication. This should only be used temporarily to gain access to the site when locked out due to loss of valid two-factor methods.

    So add the line below to the wp-config.php file:

    define('ITSEC_DISABLE_TWO_FACTOR', true);

    To prevent any confusion, I’m not iThemes.

    • This reply was modified 5 years ago by nlpro.
    Thread Starter michaelmossey

    (@michaelmossey)

    It worked! Thanks, nlpro.
    Mike

    beardedginger

    (@beardedginger)

    Hi Mike,

    I am glad to hear that code worked for you to disable 2 Factor. In the event you run into another feature of Security that is preventing you from logging in you can use the code below to disable all features to allow you to log in. This code will also be added into the wp-config.php file.

    define(‘ITSEC_DISABLE_MODULES’, true);

    I hope this helps!

    Thanks,
    Matt
    iThemes.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘canceling 2-factor authentication’ is closed to new replies.