From fac98c5fd6b40faf05b4678eafcd17cd363b9193 Mon Sep 17 00:00:00 2001 From: vrockai Date: Fri, 27 Sep 2013 16:42:11 +0200 Subject: [PATCH] KEYCLOAK-74 login page fixes --- .../META-INF/resources/forms/theme/default/login.ftl | 3 +-- .../src/main/resources/org/keycloak/forms/messages.properties | 4 ++-- .../src/test/java/org/keycloak/testsuite/pages/LoginPage.java | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/forms/src/main/resources/META-INF/resources/forms/theme/default/login.ftl b/forms/src/main/resources/META-INF/resources/forms/theme/default/login.ftl index 24c4cce7cf..863118e86b 100755 --- a/forms/src/main/resources/META-INF/resources/forms/theme/default/login.ftl +++ b/forms/src/main/resources/META-INF/resources/forms/theme/default/login.ftl @@ -24,6 +24,7 @@
+

Forgot Password?

@@ -36,8 +37,6 @@ <#if realm.registrationAllowed>

${rb.getString('noAccount')} ${rb.getString('register')}.

- - Reset password diff --git a/forms/src/main/resources/org/keycloak/forms/messages.properties b/forms/src/main/resources/org/keycloak/forms/messages.properties index 4ce9a69a5d..ce6667ae39 100644 --- a/forms/src/main/resources/org/keycloak/forms/messages.properties +++ b/forms/src/main/resources/org/keycloak/forms/messages.properties @@ -1,7 +1,7 @@ logIn=Log in logInTo=Log in to logInWith=Log in with -noAccount=No account? +noAccount=New user? register=Register registerWith=Register with allRequired=All fields are required @@ -18,7 +18,7 @@ password=Password passwordConfirm=Confirm Password passwordNew=New Password -authenticatorCode=Authenticator Code +authenticatorCode=One-time-password clientCertificate=Client Certificate invalidUser=Invalid username or password diff --git a/testsuite/src/test/java/org/keycloak/testsuite/pages/LoginPage.java b/testsuite/src/test/java/org/keycloak/testsuite/pages/LoginPage.java index 7abbbdb129..1d9c94998d 100644 --- a/testsuite/src/test/java/org/keycloak/testsuite/pages/LoginPage.java +++ b/testsuite/src/test/java/org/keycloak/testsuite/pages/LoginPage.java @@ -47,7 +47,7 @@ public class LoginPage extends Page { @FindBy(linkText = "Register") private WebElement registerLink; - @FindBy(linkText = "Reset password") + @FindBy(linkText = "Password") private WebElement resetPasswordLink; @FindBy(id = "loginError")