I’ve been trying to get this solution to work, but for some reason the showLoginButton is never seen as true. My test site is set to private, and when I hit /login the button is on the page. I tried logging the value of showLoginButton and it’s returning as undefined.
If I swap if for unless it seems to work fine. Any ideas on what the issue is would be appreciated.
<script type="text/x-handlebars" data-template-name="/connectors/below-static/custom-login">
{{#unless showLoginButton}}
<div class="custom-login-content">
<h1>test</h1>
</div>
{{/unless}}
</script>