{% logout %}

Use this tag to log the current user off


{% logout [clear_session] [clear_cookies] %}

If clear_session is set, all session information will be reset, including the session id, session start date, and any session properties that have been set.

If clear_cookies is set, all cookies will be immediately expired (with the possible exception of the permissions cookie).


{% logout %}
{% logout clear_session %}
{% logout clear_cookies %}
{% logout clear_session clear_cookies %}

Developer Overview

Liquid Markup