Skip to Content
Menu
This question has been flagged
1 Atsakyti
1850 Rodiniai

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


Portretas
Atmesti
Autorius Best Answer

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!"
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 24
3729