Skip to content

updated style note #1016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/member/logout.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

[TOC]

STYLE NOTE: Someone "logs out" (verb, two words) using a "logout link" or "logout form" (adjective, one word).
NOTE: Someone "logs out" (verb, two words) using a "logout link" or "logout form" (adjective, one word).


## Logout Link
Expand All @@ -24,14 +24,14 @@ resolves to something like

https://example.com/?ACT=10&csrf_token=3f9045ab558a35b7caf6a8130439758d02b343df

Usually, you place the path variable inside of a link tag.
Usually, you place the path variable inside of a link tag.

<a href="{path='logout'}">Log Out</a>

NOTE: The logout path link will generate with a fresh CSRF token every time it is called, even for visitors who are currently logged out. For maximum site efficiency, you should avoid creating logout links for visitors who are not logged in.

{if logged_in}<a href="{path='logout'}">Log Out</a>{/if}

NOTE: Logging out of the front end of the site deletes the session cookie, so it will also potentially log someone out of the admin panel if your site uses cookies to be logged in to the control panel.

## Logout Form Overview
Expand Down