on 2024 Mar 19 4:03 PM
Hi,
i have a problem with the system variable "systemVars.currentUser.email" (also the other ones like firstname or lastname) which reads the mail from the currently logged in user.
Its working on the preview app for one time, but after reloading the page, the variable is empty.
When I deploy the app and use it, it's empty everytime.
In the developer tools from Chrome I can see, that this user API is triggered: /user-api/currentUser/
The query works and it returns my name, mail and some other information, but the systemvar variable is still empty.
Can somebody help me here?
Thanks,
Vincent
Request clarification before answering.
I checked the response so in the deployed version the systemVars.currentUser.email changes to systemVars.currentUser.name. Replace it with name and its should be working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.