mirror of https://github.com/M66B/FairEmail.git
Trim usernames
This commit is contained in:
parent
6a86625862
commit
03ff3d068a
|
@ -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");
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue