X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/dff68e21ac958ebfb8164bca4cb2143c427f4330..1c40892fc9ff71d7add588e929b9a4881de6c5b4:/www/forbidden.php diff --git a/www/forbidden.php b/www/forbidden.php index fc166eb..f55c4ba 100644 --- a/www/forbidden.php +++ b/www/forbidden.php @@ -4,8 +4,12 @@ namespace phorkie; * Show an access denied error */ +header('HTTP/1.0 403 Forbidden'); render( - 'forbidden' + 'forbidden', + array( + 'identity' => isset($_SESSION['identity']) ? $_SESSION['identity'] : null + ) ); exit(); ?>