summaryrefslogtreecommitdiff
path: root/app/src/debug/java/se/leap
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-10-14 18:39:03 +0200
committerParménides GV <parmegv@sdf.org>2014-10-14 19:13:22 +0200
commit11528c3f7124090ef44675cf613a949ed07ad9bb (patch)
treef9d69a886e16b36ccb2a47b0a6e31cb4e1a718f3 /app/src/debug/java/se/leap
parent8bc58f450262ba2cf64e92772746b62018f80e59 (diff)
Start EIP after downloading an authed certificate.
Always. Previously we didn't do so if EIP hadn't been started before. Fix a small bug introduced during latest refactoring, authentication did not work because the final result variable wasn't assigned.
Diffstat (limited to 'app/src/debug/java/se/leap')
-rw-r--r--app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
index b83f33a1..f51099a3 100644
--- a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
+++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
@@ -260,7 +260,7 @@ public class ProviderAPI extends IntentService {
if(validUserLoginData(username, password)) {
String server = (String) task.get(Provider.API_URL);
- authenticate(username, password, server);
+ result = authenticate(username, password, server);
broadcast_progress(progress++);
} else {
if(!wellFormedPassword(password)) {