Skip to content

Commit

Permalink
Only set persistent-license sessionTypes when persistence license are…
Browse files Browse the repository at this point in the history
… wanted
  • Loading branch information
peaBerberian committed Jan 10, 2025
1 parent bc8b6d6 commit 679bc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main_thread/decrypt/find_key_system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function buildKeySystemConfigurations(
} else if (!isNullOrUndefined(keySystem.persistentLicenseConfig)) {
persistentState = "required";
// TODO: shouldn't it be just `["persistent-license"]` here?
sessionTypes = ["temporary", "persistent-license"];
sessionTypes = ["persistent-license"];
} else {
sessionTypes = ["temporary"];
}
Expand Down

0 comments on commit 679bc6c

Please sign in to comment.