movmaker-webui/logout.php
2026-05-25 22:26:39 +02:00

10 lines
727 B
PHP

<?php
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
?>
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Log off MVLog</title><link rel="stylesheet" href="style.css"></head><body>
<header class="site-header"><a class="brand" href="index.php"><h1>MVLog</h1><p>Bubulescu.Org</p></a></header>
<main><section><p>Logging off…</p><p class="details">If your browser keeps the session, close the browser tab/window.</p></section></main>
<script>
fetch("new.php?logout=1", {headers: {"Authorization": "Basic " + btoa("logout:logout")}, cache: "no-store"}).finally(function(){ location.href = "index.php"; });
</script>
</body></html>