summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
diff options
context:
space:
mode:
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):
"""