I'm trying to edit the main.py controller file to make some sites available only after the user login.
For example, i have two sites:
I want to be able to view site1 without login and site2 private, only after the user logged in.
In the main.py i'm trying to add a new method:
// i don't know what put here
Someone can help me with the information i have to put to get what i want?
Thanks for your help