summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bonafide/src/leap/bonafide/service.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bonafide/src/leap/bonafide/service.py b/bonafide/src/leap/bonafide/service.py
index ff3c30a..14585ef 100644
--- a/bonafide/src/leap/bonafide/service.py
+++ b/bonafide/src/leap/bonafide/service.py
@@ -115,5 +115,6 @@ class BonafideService(HookableService):
return d
def do_get_active_user(self):
- user = self._active_user
- return defer.succeed(user)
+ user = self._active_user or '<none>'
+ info = {'user': user}
+ return defer.succeed(info)