aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/tui/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/tui/controllers/main.py')
-rw-r--r--packages/torouter-web/tui/controllers/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/torouter-web/tui/controllers/main.py b/packages/torouter-web/tui/controllers/main.py
index 7e1df50..060caa6 100644
--- a/packages/torouter-web/tui/controllers/main.py
+++ b/packages/torouter-web/tui/controllers/main.py
@@ -19,3 +19,8 @@ class index:
else:
return render.base(render.login())
+class logout:
+ def GET(self):
+ session.logout()
+ return render.base(render.logout())
+