Revert part of previous commit

The variable 'user' in finishAutoSetup() is used to replace $user in
providers.xml and must hold the local part of the email address.
This commit is contained in:
cketti 2015-12-14 10:43:15 +01:00
parent ded6662578
commit 756ef44691

View file

@ -276,7 +276,7 @@ public class AccountSetupBasics extends K9Activity
String email = mEmailView.getText().toString();
String password = mPasswordView.getText().toString();
String[] emailParts = splitEmail(email);
String user = email;
String user = emailParts[0];
String domain = emailParts[1];
try {
String userEnc = UrlEncodingHelper.encodeUtf8(user);