Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1842 Представления

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!"
Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 24
3718