login: separate logout page
[minimedit.git] / logout.php
diff --git a/logout.php b/logout.php
new file mode 100644 (file)
index 0000000..5b76572
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+header('WWW-Authenticate: Basic realm=""');
+http_response_code(401);
+
+// fallback page shown on authentication failure
+include 'head.inc.php';
+?>
+<h2>Niet ingelogd</h2>
+<p>Voor sitebeheer moet worden ingelogd met een gerechtigde gebruiker.</p>
+