summaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-14 14:17:18 +0300
committerAndrew Dolgov <[email protected]>2021-03-14 14:17:18 +0300
commit1c9afba5f058adace5e005b51fc533882f9af0fa (patch)
tree99f4a228acf9f969d5411048c210338ba0fd126a /logout.php
parent2b8b845abe7c13ecbb266613910484310cffe8e1 (diff)
* add CSRF protection to xhr requests
* force ORM to use SQLITE WAL * add .editorconfig * cleanup a few things
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/logout.php b/logout.php
deleted file mode 100644
index 214699e..0000000
--- a/logout.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
- set_include_path(__DIR__ ."/include" . PATH_SEPARATOR .
- get_include_path());
-
- require_once "common.php";
- require_once "sessions.php";
-
- Config::sanity_check();
-
- logout_user();
-
- header("Location: login.php"); \ No newline at end of file