diff options
Diffstat (limited to 'bonafide/src')
-rw-r--r-- | bonafide/src/leap/bonafide/_protocol.py | 2 | ||||
-rw-r--r-- | bonafide/src/leap/bonafide/service.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bonafide/src/leap/bonafide/_protocol.py b/bonafide/src/leap/bonafide/_protocol.py index b15c6ac9..9e964af9 100644 --- a/bonafide/src/leap/bonafide/_protocol.py +++ b/bonafide/src/leap/bonafide/_protocol.py @@ -127,7 +127,7 @@ class BonafideProtocol(object): d.addCallback(return_token_and_uuid, session) return d - def do_logout(self, full_id, password): + def do_logout(self, full_id): # XXX use the AVATAR here log.msg('LOGOUT for %s' % full_id) session = self._get_session(full_id) diff --git a/bonafide/src/leap/bonafide/service.py b/bonafide/src/leap/bonafide/service.py index 38c54e1d..4d5ee781 100644 --- a/bonafide/src/leap/bonafide/service.py +++ b/bonafide/src/leap/bonafide/service.py @@ -89,7 +89,7 @@ class BonafideService(HookableService): d.addCallback(lambda response: {'signup': 'ok', 'user': response}) return d - def do_logout(self, username, password): + def do_logout(self, username): if not username: username = self._active_user @@ -97,7 +97,7 @@ class BonafideService(HookableService): self._active_user = None return passthrough - d = self._bonafide.do_logout(username, password) + d = self._bonafide.do_logout(username) d.addCallback(reset_active) d.addCallback(lambda response: {'logout': 'ok'}) return d |