KEYCLOAK-11596 Enable template cache when cacheTemplates attribute is true

This commit is contained in:
Jess Thrysoee 2019-09-30 20:53:21 +02:00 committed by Stian Thorgersen
parent d73a2b821c
commit 3b58692d7c

View file

@ -51,7 +51,6 @@ public class FreeMarkerUtil {
try {
Template template;
cache = null;
if (cache != null) {
String key = theme.getName() + "/" + templateName;
template = cache.get(key);