summaryrefslogtreecommitdiff
path: root/rt/share/html/m/logout
diff options
context:
space:
mode:
authormark <mark>2011-04-27 08:31:03 +0000
committermark <mark>2011-04-27 08:31:03 +0000
commit68fcc90d8e95f1efe0efe07b2f59e5fab2d8c535 (patch)
tree77e67410169c23cfa4499d9bbf779b0005a045fd /rt/share/html/m/logout
parent9d5ada5763fdeca4f90a7357ab7c384b52c1c41c (diff)
RT mobile UI, #11630
Diffstat (limited to 'rt/share/html/m/logout')
-rw-r--r--rt/share/html/m/logout7
1 files changed, 7 insertions, 0 deletions
diff --git a/rt/share/html/m/logout b/rt/share/html/m/logout
new file mode 100644
index 000000000..3006ea8eb
--- /dev/null
+++ b/rt/share/html/m/logout
@@ -0,0 +1,7 @@
+<%init>
+if (keys %session) {
+ tied(%session)->delete;
+ $session{'CurrentUser'} = RT::CurrentUser->new;
+}
+RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."m/");
+</%init>