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

XF 1.5 2 Step Login - Reset Phone

Discussion in 'XenForo Questions and Support' started by thenashy, Oct 13, 2016.

  1. thenashy

    thenashy Member

    Hi Guys,

    Trying to login to my test site to get the ball rolling on our move, and I've had a new phone since then which doesn't have the site on it. How do I login?

    It says I can use a backup code, but I don't have this either.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The back up codes exist for this reason - you should ensure you download a copy of them.

    In the meantime, add this to the library/config.php file:
    $config['enableTfa'] = false;
    That will enable you to log in and disable TFA.

    Ensure you remove that line once you have done so.
    thenashy likes this.
  3. thenashy

    thenashy Member

    Thanks very much for the quick response.
  4. Martok

    Martok Well-Known Member

    For 2FA I'd suggest that you use Authy. It works across multiple devices and unlike Google Authenticator it allows you to make a backup so that when you change phones you can restore all of your accounts used with Authy.
  5. ŽivaAkcija

    ŽivaAkcija Well-Known Member

    but if server faster or late then google time none of those not works
  6. Martok

    Martok Well-Known Member

    Which is why it's important to make sure your server time is correct.

    Oh and your point isn't relevant to this discussion which is about resetting logins when you don't have the original phone you used for authentication.
  7. thenashy

    thenashy Member

    I'm assuming there are no issues with DST if the serve time is kept up to date?
  8. Mike

    Mike XenForo Developer Staff Member

    DST doesn't affect the underlying time in GMT/UTC. It just adjust the relative time around that. So no DST issues (as long as it's done properly -- it should generally happen automatically based on the selected server time zone).

Share This Page