Trim username by setup
This commit is contained in:
parent
343ead3fda
commit
1efec7828f
2 changed files with 3 additions and 3 deletions
|
@ -550,7 +550,7 @@ public class AccountSetupIncoming extends K9Activity implements OnClickListener
|
|||
* Set the username and password for the outgoing settings to the username and
|
||||
* password the user just set for incoming.
|
||||
*/
|
||||
String username = mUsernameView.getText().toString();
|
||||
String username = mUsernameView.getText().toString().trim();
|
||||
|
||||
String password = null;
|
||||
String clientCertificateAlias = null;
|
||||
|
@ -579,7 +579,7 @@ public class AccountSetupIncoming extends K9Activity implements OnClickListener
|
|||
try {
|
||||
ConnectionSecurity connectionSecurity = getSelectedSecurity();
|
||||
|
||||
String username = mUsernameView.getText().toString();
|
||||
String username = mUsernameView.getText().toString().trim();
|
||||
String password = null;
|
||||
String clientCertificateAlias = null;
|
||||
|
||||
|
|
|
@ -491,7 +491,7 @@ public class AccountSetupOutgoing extends K9Activity implements OnClickListener,
|
|||
clientCertificateAlias = mClientCertificateSpinner.getAlias();
|
||||
}
|
||||
if (mRequireLoginView.isChecked()) {
|
||||
username = mUsernameView.getText().toString();
|
||||
username = mUsernameView.getText().toString().trim();
|
||||
authType = getSelectedAuthType();
|
||||
|
||||
if (AuthType.EXTERNAL != authType) {
|
||||
|
|
Loading…
Reference in a new issue