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

XF 1.5 [Help] Auto logout with facebook accounts

Discussion in 'XenForo Questions and Support' started by QuảngPB, Aug 27, 2016.

  1. QuảngPB

    QuảngPB Member

    Hi everybody,

    Recently, I met an error with my xenforo site.
    Any user login with facebook account will auto logout immediately (after login success)
    My site is: vntennis[dot]net (xenforo 1.5.1)

    Any suggestion for me to fix this issue? :(

    Thanks so much!
  2. Mike

    Mike XenForo Developer Staff Member

    This was resolved in a newer version of 1.5 -- 1.5.5 I think. You'll need to upgrade.
    QuảngPB and wickedstangs like this.
  3. QuảngPB

    QuảngPB Member

  4. QuảngPB

    QuảngPB Member

    I found the position for fix this issue.
    For anyone who meet the same problem with me, but just want to fix not upgrade for some reasons

    Go to js\xenforo\
    Open xenforo.js (for minified version)
    if((XenForo.Facebook.authResponse = b) && !a.user_id){XenForo._noSocialLogin || (XenForo.alert(XenForo.phrases.logging_in + "...", "", 8E3),setTimeout(function() {XenForo.redirect("index.php?register/facebook&t=" + escape(b.accessToken) + "&redirect=" + escape(g.location))}, 250))}
    For full version
    Open js\xenforo\full\xenforo.js



Share This Page