Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1834 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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!"
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
3706