Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1836 Widoki

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


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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!"
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 24
3712