summaryrefslogtreecommitdiff
path: root/app/ui/logout.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-10-31 17:04:34 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-10-31 17:04:34 +0100
commite61e581a2b66b0444db01d884465ea913929e343 (patch)
treeb49eaedb3681c4b26637acdd375cda4c3d37b07c /app/ui/logout.php
parent41c51b8bdb9c8e9fa4a7d56f260d594739d4107e (diff)
downloadmist-e61e581a2b66b0444db01d884465ea913929e343.tar.gz
mist-e61e581a2b66b0444db01d884465ea913929e343.tar.bz2
mist-e61e581a2b66b0444db01d884465ea913929e343.zip
Updated 27 files, added 12 files and deleted 3 files (automated)
Diffstat (limited to 'app/ui/logout.php')
-rw-r--r--app/ui/logout.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/ui/logout.php b/app/ui/logout.php
new file mode 100644
index 0000000..0ea605e
--- /dev/null
+++ b/app/ui/logout.php
@@ -0,0 +1,6 @@
+<?php header("X-Frame-Options: SAMEORIGIN");
+header("Set-Cookie: WAVY_SESSION_TOKEN=; SameSite=None; Path=/; Secure; HttpOnly; Expires=" . date("r", time() + (86400 * 730)));
+?>
+<script>
+ window.parent.location.href = "/app/";
+</script> \ No newline at end of file