diff options
author | Parménides GV <parmegv@sdf.org> | 2013-04-29 21:32:10 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-04-29 21:32:10 +0200 |
commit | 09493a9dec5fb235d5c4914eb8f8142e3312e246 (patch) | |
tree | a051a192909ed84cc112b9bf4f231e8fd6389793 /src/se/leap/leapclient/LogInDialog.java | |
parent | 69389ee7db23ce7182b21da08d227d88d6cfdc46 (diff) |
Changed the message shown when checking if the password is valid or not.
Refactored LeapSRPSession so that there is no need to send A twice.
Diffstat (limited to 'src/se/leap/leapclient/LogInDialog.java')
-rw-r--r-- | src/se/leap/leapclient/LogInDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/LogInDialog.java b/src/se/leap/leapclient/LogInDialog.java index 74db92ea..30984db6 100644 --- a/src/se/leap/leapclient/LogInDialog.java +++ b/src/se/leap/leapclient/LogInDialog.java @@ -51,10 +51,10 @@ public class LogInDialog extends DialogFragment { String password = password_field.getText().toString().trim(); if(validPassword(password)) { interface_with_Dashboard.authenticate(username, password); - Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is well formed", Toast.LENGTH_LONG).show(); + Toast.makeText(getActivity().getApplicationContext(), "Your password is valid", Toast.LENGTH_LONG).show(); } else { password_field.setText(""); - Toast.makeText(getActivity().getApplicationContext(), "It seems your URL is not well formed", Toast.LENGTH_LONG).show(); + Toast.makeText(getActivity().getApplicationContext(), "Your password is not valid: it should have at least 8 characters", Toast.LENGTH_LONG).show(); } } }) |