summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xres/values/strings.xml1
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c7ef6c2b..c8f391ad 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -306,6 +306,7 @@
<string name="authenticating_message">Authenticating with entered login and password.</string>
<string name="logout_title">Log out</string>
<string name="logout_message">Logging out from this session.</string>
+ <string name="not_valid_password_message">Your password is not well-formed: it should have at least 8 characters.</string>
<string name="succesful_authentication_message">Authentication succeeded.</string>
<string name="authentication_failed_message">Authentication failed.</string>
<string name="successful_log_out_message">Logged out.</string>
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index 5238224e..f3ea5f2e 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -396,6 +396,7 @@ public class ProviderAPI extends IntentService {
} else {
displayToast(R.string.certificate_error);
}
+ displayToast(R.string.certificate_error);
} catch (Exception e) {
if(provider_url != null && danger_on) {
json_file_content = getStringFromProviderWithoutValidate(provider_url);