summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-07 16:32:11 +0100
committerParménides GV <parmegv@sdf.org>2013-11-19 19:30:21 +0100
commitcede0d3c59742b1f252aa59e72ea376f3ad9486d (patch)
tree0390e1bdd5a5e2a5c6b3603d9e93c43dc0ccb98d /src/se/leap/bitmaskclient
parentf15ca67765fe3d9e129398d4ee3daa27cedfe00d (diff)
Logging out deletes the token from LeapSRPSession.
Diffstat (limited to 'src/se/leap/bitmaskclient')
-rw-r--r--src/se/leap/bitmaskclient/ProviderAPI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/ProviderAPI.java b/src/se/leap/bitmaskclient/ProviderAPI.java
index 5c8b29ca..350e6f13 100644
--- a/src/se/leap/bitmaskclient/ProviderAPI.java
+++ b/src/se/leap/bitmaskclient/ProviderAPI.java
@@ -678,6 +678,7 @@ public class ProviderAPI extends IntentService {
int responseCode = urlConnection.getResponseCode();
broadcast_progress(progress++);
+ LeapSRPSession.setToken("");
Log.d("logout", Integer.toString(responseCode));
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block