diff options
Diffstat (limited to 'packages/torouter-web/tui/utils')
-rw-r--r-- | packages/torouter-web/tui/utils/session.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/torouter-web/tui/utils/session.py b/packages/torouter-web/tui/utils/session.py index 61c04cd..a554dad 100644 --- a/packages/torouter-web/tui/utils/session.py +++ b/packages/torouter-web/tui/utils/session.py @@ -21,3 +21,6 @@ def check_login(data): return 0 return 1 +def logout(): + web.config._session.kill() + |