From 71f3d00e31d02b4e9e1a6b96b8b384ec6643ae03 Mon Sep 17 00:00:00 2001 From: vrockai Date: Wed, 16 Oct 2013 14:02:36 +0200 Subject: [PATCH] KEYCLOAK-107 fix for login form error feedback issues --- .../forms/theme/default/template-login.ftl | 16 +++++++--------- .../org/keycloak/forms/messages.properties | 1 + .../services/resources/TokenService.java | 5 +++++ 3 files changed, 13 insertions(+), 9 deletions(-) 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 ac7e4961f4..de023e1bfb 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 @@ -31,18 +31,16 @@

Application login area

+ <#if error?has_content> + + <#nested "form">
- <#if error?has_content> -
-

- ${rb.getString(error.summary)} -

-
- - <#if social.displaySocialProviders>