Check on changing insecure

This commit is contained in:
M66B
2019-06-21 20:33:50 +02:00
parent 03ff3d068a
commit 8c2132fc56
2 changed files with 6 additions and 4 deletions

View File

@@ -668,12 +668,13 @@ public class FragmentIdentity extends FragmentBase {
String identityRealm = (identity == null ? null : identity.realm);
boolean check = (synchronize && (identity == null ||
!identity.synchronize || identity.error != null ||
!identity.synchronize ||
identity.insecure != insecure ||
!host.equals(identity.host) || Integer.parseInt(port) != identity.port ||
!user.equals(identity.user) || !password.equals(identity.password) ||
!Objects.equals(realm, identityRealm) ||
use_ip != identity.use_ip) ||
!TextUtils.isEmpty(identity.error));
identity.error != null);
Long last_connected = null;
if (identity != null && synchronize == identity.synchronize)