コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1844 ビュー

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
3720