mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Allow empty username
This commit is contained in:
@@ -721,7 +721,7 @@ public class FragmentIdentity extends FragmentBase {
|
||||
port = "25";
|
||||
else
|
||||
port = "465";
|
||||
if (TextUtils.isEmpty(user) && !should)
|
||||
if (TextUtils.isEmpty(user) && !insecure && !should)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_user));
|
||||
if (synchronize && TextUtils.isEmpty(password) && !insecure && certificate == null && !should)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_password));
|
||||
|
||||
Reference in New Issue
Block a user