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

Fixed Last Visit Not Updated If User Unconfirms Email

Discussion in 'Resolved Bug Reports' started by digitalpoint, Jun 13, 2014.

  1. digitalpoint

    digitalpoint Well-Known Member

    I ran into a situation where a user posted, but their last visit was 2 years ago. I did some digging, and the only unique thing about that user is they made the port at 11:27 AM, changed their email at 11:28 AM but didn't confirm it (so they are still as guest/unconfirmed status a few days later).

    Is the clean up task that runs hourly to update last visits from the session activity table maybe ignoring the user unless they have a user state of "valid"?
    Adam Howard and Marcus like this.
  2. Mike

    Mike XenForo Developer Staff Member

    Looks like that is indeed the case -- mostly through a skipped "getUnconfirmed" option. Fixed now, thanks.
    Adam Howard and digitalpoint like this.

Share This Page