summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-16 12:18:31 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-16 12:18:31 -0300
commiteece52ff0118af412b0e2bf7a4200ebf0bca2f16 (patch)
tree10a1332c32f7251a59097b1cd598d528569070e2 /src/leap/bitmask/backend.py
parent72aca6c71b08b27382d63297559f0fce7b9dfc1b (diff)
Use authenticated() properly.
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):
"""