aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/pages/logout.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/pages/logout.jsp')
-rw-r--r--src/main/webapp/pages/logout.jsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/webapp/pages/logout.jsp b/src/main/webapp/pages/logout.jsp
new file mode 100644
index 0000000..97e684b
--- /dev/null
+++ b/src/main/webapp/pages/logout.jsp
@@ -0,0 +1,6 @@
+<%
+ session.removeAttribute("id");
+ session.removeAttribute("username");
+ session.removeAttribute("admin");
+ response.sendRedirect("../index.jsp");
+%> \ No newline at end of file