How do I hide a login form if user is logged in? What conditional statement would hide a form if a user is logged in?
The Twig variable currentUser contains information about the currently logged in user, and will be null if no user is currently logged in.

{% if not currentUser %}

    &lt;!-- Your login form --&gt;

{% endif %}