1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable Two-Step Verification (config.php)

Disable Two-Step Verification (config.php)

  1. Allan
    Compatible XF Versions:
    • 1.5
    I often work on several local installation at home, and this verification was returned each login :mad: (even with the permission to NO)

    So here's a way to stop Two-Step Verification ;)

    • In /library/config.php/, after <?php, add:
    Code:
    $config['enableTfa'] = false;
    _______________________________
    Thanks...
    You do not have permission to view the full content of this resource.

Recent Reviews

  1. Rudy
    Rudy
    5/5,
    Having been locked out of my own admin panel due to 2FA not working properly, this saved me. I recommend adding it to your config.php file, commented out, in case of emergency.
  2. Tecca
    Tecca
    5/5,
    Quick and helpful. I had bought a new phone and copied my previous data directly over, thinking everything would be fine (I hadn't even thought of 2FA websites with Google Authenticator activated). Roughly 30 days later, I'm locked out of my account because I figured I was above needing to save my backup codes, haha. This helped out with my XenForo installation that needed it, managed to log back in and reset my Authenticator. Time to start saving backup codes whenever they're given.
  3. TaniaC
    TaniaC
    5/5,
    I had the same problem and that was very annoying.

    I tried this and it was successful! thank you su much :)