Missing isEncrypted should mean a true value
This commit is contained in:
parent
61e12235b2
commit
c7f330c4c7
|
|
@ -47,7 +47,10 @@ public class AuthenticationDTO {
|
||||||
|
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
public boolean isEncrypted() {
|
public boolean isEncrypted() {
|
||||||
return Boolean.TRUE.equals(isEncrypted);
|
if (isEncrypted == null) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return isEncrypted;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user