Fixed identity import

pull/174/head
M66B 5 years ago
parent 2ed151acab
commit 29758b64d6

@ -222,7 +222,8 @@ public class EntityIdentity {
identity.provider = json.getString("provider");
identity.user = json.getString("user");
identity.password = json.getString("password");
identity.certificate_alias = json.getString("certificate_alias");
if (json.has("certificate_alias"))
identity.certificate_alias = json.getString("certificate_alias");
if (json.has("realm") && !json.isNull("realm"))
identity.realm = json.getString("realm");
if (json.has("fingerprint"))

Loading…
Cancel
Save