KEYCLOAK-74 login page fixes

This commit is contained in:
vrockai 2013-09-27 16:42:11 +02:00
parent a6bc0ff447
commit fac98c5fd6
3 changed files with 4 additions and 5 deletions

View file

@ -24,6 +24,7 @@
</#list>
<div class="aside-btn">
<p>Forgot <a href="${url.passwordResetUrl}">Password</a>?</p>
</div>
<input class="btn-primary" type="submit" value="Log In"/>
@ -36,8 +37,6 @@
<#if realm.registrationAllowed>
<p>${rb.getString('noAccount')} <a href="${url.registrationUrl}">${rb.getString('register')}</a>.</p>
</#if>
<a href="${url.passwordResetUrl}">Reset password</a>
</div>
</#if>

View file

@ -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

View file

@ -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")