Default to generating secrets.
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
This commit is contained in:
parent
b0b6d6723e
commit
f20e61d57c
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ import org.jose4j.base64url.Base64;
|
|||
var display = GsonPtr.to(event.vmDefinition().data()).to("spec", "vm",
|
||||
"display");
|
||||
if (!display.get(JsonPrimitive.class, "spice", "generateSecret")
|
||||
.map(JsonPrimitive::getAsBoolean).orElse(false)) {
|
||||
.map(JsonPrimitive::getAsBoolean).orElse(true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue