Small fix

This commit is contained in:
M66B 2019-12-24 10:35:43 +01:00
parent 2135d1bdce
commit 5f3361e52c
2 changed files with 4 additions and 8 deletions

View File

@ -990,10 +990,8 @@ public class FragmentAccount extends FragmentBase {
account.insecure = insecure;
account.port = Integer.parseInt(port);
account.auth_type = auth;
if (auth == MailService.AUTH_TYPE_PASSWORD) {
account.user = user;
account.password = password;
}
account.user = user;
account.password = password;
account.provider = provider;
account.realm = realm;
account.fingerprint = fingerprint;

View File

@ -775,10 +775,8 @@ public class FragmentIdentity extends FragmentBase {
identity.insecure = insecure;
identity.port = Integer.parseInt(port);
identity.auth_type = auth;
if (auth == MailService.AUTH_TYPE_PASSWORD) {
identity.user = user;
identity.password = password;
}
identity.user = user;
identity.password = password;
identity.provider = provider;
identity.realm = realm;
identity.fingerprint = fingerprint;