Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1855 Tampilan

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


Avatar
Buang
Penulis Jawaban Terbai

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!"
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 24
3766