Reload on authentication type change

pull/147/head
M66B 7 years ago
parent 4dd6b3524b
commit a72b99d498

@ -827,6 +827,7 @@ public class FragmentAccount extends FragmentBase {
String accountRealm = (account == null ? null : account.realm); String accountRealm = (account == null ? null : account.realm);
boolean check = (synchronize && (account == null || boolean check = (synchronize && (account == null ||
auth_type != account.auth_type ||
!host.equals(account.host) || Integer.parseInt(port) != account.port || !host.equals(account.host) || Integer.parseInt(port) != account.port ||
!user.equals(account.user) || !password.equals(account.password) || !user.equals(account.user) || !password.equals(account.password) ||
(realm == null ? accountRealm != null : !realm.equals(accountRealm)))); (realm == null ? accountRealm != null : !realm.equals(accountRealm))));

@ -569,6 +569,7 @@ public class FragmentIdentity extends FragmentBase {
String identityRealm = (identity == null ? null : identity.realm); String identityRealm = (identity == null ? null : identity.realm);
boolean check = (synchronize && (identity == null || boolean check = (synchronize && (identity == null ||
auth_type != identity.auth_type ||
!host.equals(identity.host) || Integer.parseInt(port) != identity.port || !host.equals(identity.host) || Integer.parseInt(port) != identity.port ||
!user.equals(identity.user) || !password.equals(identity.password) || !user.equals(identity.user) || !password.equals(identity.password) ||
(realm == null ? identityRealm != null : !realm.equals(identityRealm)))); (realm == null ? identityRealm != null : !realm.equals(identityRealm))));

Loading…
Cancel
Save