mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Trim usernames
This commit is contained in:
@@ -726,7 +726,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
boolean starttls = args.getBoolean("starttls");
|
||||
boolean insecure = args.getBoolean("insecure");
|
||||
String port = args.getString("port");
|
||||
String user = args.getString("user");
|
||||
String user = args.getString("user").trim();
|
||||
String password = args.getString("password");
|
||||
String realm = args.getString("realm");
|
||||
|
||||
|
||||
@@ -557,7 +557,7 @@ public class FragmentIdentity extends FragmentBase {
|
||||
boolean starttls = args.getBoolean("starttls");
|
||||
boolean insecure = args.getBoolean("insecure");
|
||||
String port = args.getString("port");
|
||||
String user = args.getString("user");
|
||||
String user = args.getString("user").trim();
|
||||
String password = args.getString("password");
|
||||
String realm = args.getString("realm");
|
||||
boolean use_ip = args.getBoolean("use_ip");
|
||||
|
||||
@@ -186,7 +186,7 @@ public class FragmentQuickSetup extends FragmentBase {
|
||||
@Override
|
||||
protected EmailProvider onExecute(Context context, Bundle args) throws Throwable {
|
||||
String name = args.getString("name");
|
||||
String email = args.getString("email");
|
||||
String email = args.getString("email").trim();
|
||||
String password = args.getString("password");
|
||||
boolean check = args.getBoolean("check");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user