Hello again,
I created CMP page which calls data via ajax from
/assets/components/doodle/index.php file, If i make a post request via another browser it displays all my sensitive data because there is no check.
So i tried to check if user is logged in and his ID but i am getting null in CMP pages.
How can i secure my CMP page so no outside user can access the data ?
How can i access logged in users id in modx CMP ?