summaryrefslogtreecommitdiff
path: root/app/ui/logout.php
diff options
context:
space:
mode:
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