diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-04-16 12:21:38 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-04-16 12:21:38 -0300 |
commit | 90bbab2d49446934c7dd5f8c3ec84fd937dcd0b1 (patch) | |
tree | 10a1332c32f7251a59097b1cd598d528569070e2 /src/leap/bitmask/backend.py | |
parent | 72aca6c71b08b27382d63297559f0fce7b9dfc1b (diff) | |
parent | eece52ff0118af412b0e2bf7a4200ebf0bca2f16 (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.py | 3 |
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): """ |