summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-04-16 12:21:38 -0300
committerTomás Touceda <chiiph@leap.se>2014-04-16 12:21:38 -0300
commit90bbab2d49446934c7dd5f8c3ec84fd937dcd0b1 (patch)
tree10a1332c32f7251a59097b1cd598d528569070e2 /src/leap/bitmask/backend.py
parent72aca6c71b08b27382d63297559f0fce7b9dfc1b (diff)
parenteece52ff0118af412b0e2bf7a4200ebf0bca2f16 (diff)
Merge remote-tracking branch 'refs/remotes/ivan/bug/fix-is_authenticated-method' into develop
Diffstat (limited to 'src/leap/bitmask/backend.py')
-rw-r--r--src/leap/bitmask/backend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py
index ff49908f..d208a6cd 100644
--- a/src/leap/bitmask/backend.py
+++ b/src/leap/bitmask/backend.py
@@ -546,7 +546,8 @@ class Authenticate(object):
:rtype: bool
"""
- return self._srp_auth.is_authenticated()
+ return (self._srp_auth is not None and
+ self._srp_auth.is_authenticated())
def get_logged_in_status(self):
"""