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
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard

Budget

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

Learn more