Skip to content
Jeff Johns edited this page Feb 4, 2014 · 2 revisions
Controller Extends Path
Logout Plain_Controller /application/controllers/logout.php

Request Types

Type Accessible
XMLHttpRequest Internal Only
API No
Web View Yes

This controller handles the logout requests.

Methods

__construct - Public

Called automatically which in turn calls the parent constructor. It will also redirect you away from this route if you are NOT logged in.


index - Public

Logs the user out. Destroys current session and removes any cookies set.