diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 12:42:51 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 12:45:23 -0400 |
commit | 15394a9cefdf6f8ca9cbb6604c6f68425577ae90 (patch) | |
tree | abf25582d5ace2ebcf0f87bcfeef3f66344de008 /bonafide/src/leap/bonafide/service.py | |
parent | ec86a9c330fd6c183563ca3b2c5b6b2068bb0e3b (diff) |
[bug] return active user as a dict
since the command dispatcher expects dicts now
Diffstat (limited to 'bonafide/src/leap/bonafide/service.py')
-rw-r--r-- | bonafide/src/leap/bonafide/service.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bonafide/src/leap/bonafide/service.py b/bonafide/src/leap/bonafide/service.py index ff3c30af..14585eff 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) |