Jump to main content Jump to doc navigation

The Logout controller is used to logout the user. It logs the user out of every context is has access in except for the manager. After logging out the user, it will redirect to the forum home.

Basic Information

Since Version 1.0
Controller File controllers/web/logout.class.php
Controller Class Name DiscussLogoutController
Controller Template None
Manifest Name logout

Options

The Logout controller does not have any manifest options and does not depend on any system settings.

Controller Template

There is no template for the Logout controller.

System Events

No custom system events trigger on this controller.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Lefthandmedia
  • Murray Wood
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$306 per month—let's make that $500!

Learn more