From bdb7c0467507208eceb79a650951ffec8a809f1d Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Mon, 19 Dec 2011 12:57:38 +0000 Subject: [PATCH] Added logout page --- source/webui/pages/logout.php | 8 ++++++++ source/webui/templates/logout.tpl | 1 + 2 files changed, 9 insertions(+) create mode 100644 source/webui/pages/logout.php create mode 100644 source/webui/templates/logout.tpl diff --git a/source/webui/pages/logout.php b/source/webui/pages/logout.php new file mode 100644 index 0000000..0e8fa0d --- /dev/null +++ b/source/webui/pages/logout.php @@ -0,0 +1,8 @@ +auth(); +$auth->deauthenticate(); + +StatusBoard_Page::redirect('home'); + +?> \ No newline at end of file diff --git a/source/webui/templates/logout.tpl b/source/webui/templates/logout.tpl new file mode 100644 index 0000000..30404ce --- /dev/null +++ b/source/webui/templates/logout.tpl @@ -0,0 +1 @@ +TODO \ No newline at end of file