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

View file

@ -1,7 +1,7 @@
logIn=Log in logIn=Log in
logInTo=Log in to logInTo=Log in to
logInWith=Log in with logInWith=Log in with
noAccount=No account? noAccount=New user?
register=Register register=Register
registerWith=Register with registerWith=Register with
allRequired=All fields are required allRequired=All fields are required
@ -18,7 +18,7 @@ password=Password
passwordConfirm=Confirm Password passwordConfirm=Confirm Password
passwordNew=New Password passwordNew=New Password
authenticatorCode=Authenticator Code authenticatorCode=One-time-password
clientCertificate=Client Certificate clientCertificate=Client Certificate
invalidUser=Invalid username or password invalidUser=Invalid username or password

View file

@ -47,7 +47,7 @@ public class LoginPage extends Page {
@FindBy(linkText = "Register") @FindBy(linkText = "Register")
private WebElement registerLink; private WebElement registerLink;
@FindBy(linkText = "Reset password") @FindBy(linkText = "Password")
private WebElement resetPasswordLink; private WebElement resetPasswordLink;
@FindBy(id = "loginError") @FindBy(id = "loginError")