Commit 6524d952 authored by valtron's avatar valtron

fix (hopefully)

parent 27e8db5f
......@@ -46,8 +46,8 @@ class Backend:
def on_leave(self, sess):
user = sess.user
self._stats.on_logout()
if user is None: return
self._stats.on_logout()
self._sc.remove_session(sess)
if self._sc.get_sessions_by_user(user):
# There are still other people logged in as this user,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment