Skip to content

Unauthorized page

Kevin Van Lierde edited this page Feb 4, 2017 · 2 revisions

If, for example, a user does not have access to admin/pages.php, but loads the URL in the browser address bar manually, he will be redirected to the admin/unauthorized.php page. If for some reason UsrMgr doesn't find the page, it will fall back to a blank page with the message '403 Unauthorized'.

Setting your own content for the unauthorized.php page

You can customize the message displayed on the unauthorized.php page by creating a new page with the slug unauthorized. This page will only be editable by admin users. The title will be displayed as page title, and the HTML as message (see below).

The page created above will output the following page content:

Alternatively, you can manually create a unauthorized.xml file in /data/pages.