Jump to main content Jump to doc navigation

modX::sendUnauthorizedPage

Send the user to the MODX unauthorized page.

Syntax

API Doc: modX::sendUnauthorizedPage()

void sendUnauthorizedPage ([array $options = null])

Example

Send the user to the unauthorized page. You do not need to terminate the script after running this.

$modx->sendUnauthorizedPage();

See Also