콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1895 화면

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
3944