Fix module theme loader
This commit is contained in:
parent
bf9830dae8
commit
4494c2a731
3 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
|||
<module name="org.keycloak.keycloak-core"/>
|
||||
<module name="org.keycloak.keycloak-model-api"/>
|
||||
<module name="org.keycloak.keycloak-services"/>
|
||||
<module name="org.keycloak.keycloak-forms-common-freemarker"/>
|
||||
<module name="org.keycloak.keycloak-forms-common-themes"/>
|
||||
<module name="org.jboss.modules"/>
|
||||
</dependencies>
|
||||
</module>
|
||||
|
|
|
@ -34,5 +34,6 @@
|
|||
<module>basic-auth</module>
|
||||
<module>fuse</module>
|
||||
<module>kerberos</module>
|
||||
<module>themes</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
|
|
@ -26,7 +26,7 @@ public class JarThemeProvider implements ThemeProvider {
|
|||
|
||||
@Override
|
||||
public Theme getTheme(String name, Theme.Type type) throws IOException {
|
||||
return hasTheme(name, type) ? new ClassLoaderTheme(name, type, getClass().getClassLoader()) : null;
|
||||
return hasTheme(name, type) ? themes.get(type).get(name) : null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue