Trim usernames

This commit is contained in:
M66B 2019-06-21 19:46:46 +02:00
parent 6a86625862
commit 03ff3d068a
3 changed files with 3 additions and 3 deletions

View File

@ -726,7 +726,7 @@ public class FragmentAccount extends FragmentBase {
boolean starttls = args.getBoolean("starttls"); boolean starttls = args.getBoolean("starttls");
boolean insecure = args.getBoolean("insecure"); boolean insecure = args.getBoolean("insecure");
String port = args.getString("port"); String port = args.getString("port");
String user = args.getString("user"); String user = args.getString("user").trim();
String password = args.getString("password"); String password = args.getString("password");
String realm = args.getString("realm"); String realm = args.getString("realm");

View File

@ -557,7 +557,7 @@ public class FragmentIdentity extends FragmentBase {
boolean starttls = args.getBoolean("starttls"); boolean starttls = args.getBoolean("starttls");
boolean insecure = args.getBoolean("insecure"); boolean insecure = args.getBoolean("insecure");
String port = args.getString("port"); String port = args.getString("port");
String user = args.getString("user"); String user = args.getString("user").trim();
String password = args.getString("password"); String password = args.getString("password");
String realm = args.getString("realm"); String realm = args.getString("realm");
boolean use_ip = args.getBoolean("use_ip"); boolean use_ip = args.getBoolean("use_ip");

View File

@ -186,7 +186,7 @@ public class FragmentQuickSetup extends FragmentBase {
@Override @Override
protected EmailProvider onExecute(Context context, Bundle args) throws Throwable { protected EmailProvider onExecute(Context context, Bundle args) throws Throwable {
String name = args.getString("name"); String name = args.getString("name");
String email = args.getString("email"); String email = args.getString("email").trim();
String password = args.getString("password"); String password = args.getString("password");
boolean check = args.getBoolean("check"); boolean check = args.getBoolean("check");