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


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.



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

Learn more