跳至内容
菜单
此问题已终结
1 回复
1841 查看

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


形象
丢弃
编写者 最佳答案

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!"
形象
丢弃
相关帖文 回复 查看 活动
1
3月 24
3718