X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/621fc2f9638a1a92aa8535310e7852de5542f11e..08c034059523d345de80f5ebd28843700a8bc4c8:/login/index.php diff --git a/login/index.php b/login/index.php index 6783a47..897346d 100644 --- a/login/index.php +++ b/login/index.php @@ -38,6 +38,7 @@ elseif (isset($_GET['logout'])) { if (!$User or !$User->login) { $Article->title = 'Inloggen'; if (isset($_REQUEST['goto'])) { + if (empty($message)) http_response_code(403); $target = ltrim($_REQUEST['goto'], '/'); $target = new ArchiveArticle("$target.html");