summaryrefslogtreecommitdiff
path: root/bonafide/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-12-04 00:19:58 -0400
committerKali Kaneko <kali@leap.se>2015-12-04 00:19:58 -0400
commit930c206b982bc0ebf91751a0d5e8316308344ba2 (patch)
tree71f97040db75b4b6bd210416b7cf6b0aeb4708fe /bonafide/src
parent6540309e0604098068c004a413652f826af9c1ce (diff)
minor style fix for auth result
Diffstat (limited to 'bonafide/src')
-rw-r--r--bonafide/src/leap/bonafide/service.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bonafide/src/leap/bonafide/service.py b/bonafide/src/leap/bonafide/service.py
index b681a58..36399de 100644
--- a/bonafide/src/leap/bonafide/service.py
+++ b/bonafide/src/leap/bonafide/service.py
@@ -75,7 +75,8 @@ class BonafideService(service.Service):
d = self._bonafide.do_authenticate(username, password)
d.addCallback(notify_bonafide_auth_hook)
- d.addCallback(lambda response: 'TOKEN, UUID: %s' % str(response))
+ d.addCallback(lambda response: '[ SRP TOKEN: %s ] [ UUID: %s ]' %
+ (response[0], response[1]))
return d
def do_signup(self, username, password):