Can't support Account theme in Keycloak 22

This commit is contained in:
garronej 2023-08-02 08:48:38 +02:00
parent 8f1163fd75
commit 74ef3096ae

View File

@ -230,10 +230,7 @@ export async function generateTheme(params: {
fs.writeFileSync(
pathJoin(themeDirPath, "theme.properties"),
Buffer.from(
[`parent=${themeType === "account" ? "base" : "keycloak"}`, ...(buildOptions.extraThemeProperties ?? [])].join("\n\n"),
"utf8"
)
Buffer.from([`parent=keycloak`, ...(buildOptions.extraThemeProperties ?? [])].join("\n\n"), "utf8")
);
}