Signs out of the current profile. This is only applicable if the user is currently signed in using a profile.
{% logout flags? %}
{% logout
flags
One or more values. May use the variable arguments syntax.
%}
flags
clear_session
Specifies that all session information should be completely reset, including the session id, session start date, and any session properties that have been set
clear_cookies
Specifies that the cookies should be cleared. This will clear all cookies with the possible exception of the permissions cookie
clear_permissions
Specifies that all permissions should be immediately unset. This is not the same thing as denying permissions - they will simply be unspecified. If the site is configured to allow sessions by default then the session permission will be allowed
save_changes
If there are any changes to the profile attributes or settings, these changes will be saved before logging off if save_changes is specified. If save_changes is not specified then any changes to the profile settings and attributes will NOT be saved and will be lost
This method prevents the current page from being fast-cachable.