Forum Discussion
RobertT
6 years agoBoss
You can do this by wrapping the component code in studio using the following freemarker logic:
<#if user.anonymous>
-- component code here --
</#if>
In the above scenario, the component will only be displayed to anonymous users, once signed in the condition is no longer true so the code is not loaded.
Sign in to react to this post