We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31037
    • 358 Posts
    The auto login when activating from activation email works, they get "hasSessionContext" when trying it out in a snippet.

    But: I can't access their id, not by [[+]] in profile snippet, not by [[+modx.user.id]] and also not by $modx->user->id in a snippet. The id isn't in the $_SESSION either.

    I can't get the profile snippet logout chunk to show thier user name either.

    When logging in normally this all works fine.

    Before upgrading to 2.2pl2 (from 2.0.8 ) it all worked fine.
    (It might been the upgrade to latest Login that broke it, but I don't remember upgrading it when this stopped working.)

    I could skip the auto login, but that's so 2007!

    Any solution? [ed. note: Uncle68 last edited this post 14 years, 8 months ago.]
      • 31037
      • 358 Posts
      7 views after 3 days, I hope the forum will be fixed soon, perhaps then people will return to this forum.

      The problem above comes from upgrading login from I think 1.5.2 to 1.7.1. So something must have changed. Or am I the only one with this problem?