Open mkellerman opened 6 years ago
Maybe there is a better way to associate information to the $User ?
Would love a $AuthenticatedUser variable, that we can add custom properties or get the user info from database?!
Actually, after some testing, that $Session variable doesn't even gets set on the first login.. something fishy going on with Session variables at that stage of the game.
I set a $Session:CUSTOMER_ID value when the user login's. Strangely, when i save the dashboard and it autorefreshes, it keeps me logged in, but looses Session variables. Here is what i do:
Expected behavior, when the site reloads, it should boot everyone out, or keep users session variables.