From d6512f03332694274fe5e75cb361dffacda7e0ec Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Mon, 13 Jan 2014 16:48:54 +0000 Subject: [PATCH] Fix build error --- forms/src/main/java/org/keycloak/service/FormServiceImpl.java | 1 + .../resources/forms/theme/default/template-login-action.ftl | 2 +- .../META-INF/resources/forms/theme/default/template-login.ftl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/forms/src/main/java/org/keycloak/service/FormServiceImpl.java b/forms/src/main/java/org/keycloak/service/FormServiceImpl.java index 01ca837ec0..33d36ea51e 100755 --- a/forms/src/main/java/org/keycloak/service/FormServiceImpl.java +++ b/forms/src/main/java/org/keycloak/service/FormServiceImpl.java @@ -59,6 +59,7 @@ public class FormServiceImpl implements FormService { public FormServiceImpl(){ commandMap.put(Pages.LOGIN, new CommandLogin()); + commandMap.put(Pages.ERROR, new CommandLogin()); commandMap.put(Pages.REGISTER, new CommandRegister()); commandMap.put(Pages.ACCOUNT, new CommandCommon()); commandMap.put(Pages.LOGIN_UPDATE_PROFILE, new CommandCommon()); diff --git a/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login-action.ftl b/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login-action.ftl index 977f1cdd84..bfacefd458 100644 --- a/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login-action.ftl +++ b/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login-action.ftl @@ -26,7 +26,7 @@ <#if (template.themeConfig.logo)?has_content>

- Red Hat Logo + Keycloak

diff --git a/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login.ftl b/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login.ftl index 1a20b3a068..50ac51a19c 100644 --- a/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login.ftl +++ b/forms/src/main/resources/META-INF/resources/forms/theme/default/template-login.ftl @@ -19,7 +19,7 @@ <#if (template.themeConfig.logo)?has_content>

- Red Hat Logo + Keycloak