Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1861 Zobrazení

How to limit content of a website page to public user?


Avatar
Zrušit
Autor Nejlepší odpověď

If you want to limit content of a website page to public user you can use t-if="user_id._is_public()"


As an example:


If user is logged in, he sees "Welcome!"

If user is not logged in, he sees "You are not logged in!"
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 24
3782