Change the name of the loginName template variable to "username" so it doesn't conflict with the variable already in use in the footer.
This commit is contained in:
parent
21bbd9e881
commit
ce99295729
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ public class LoginTemplateHelper extends LoginTemplateHelperBase {
|
||||||
/** Show error message */
|
/** Show error message */
|
||||||
public static final String TEMPLATE_SERVER_ERROR = Template.ERROR_MESSAGE.toString();
|
public static final String TEMPLATE_SERVER_ERROR = Template.ERROR_MESSAGE.toString();
|
||||||
|
|
||||||
public static final String BODY_LOGIN_NAME = "loginName";
|
public static final String BODY_LOGIN_NAME = "username";
|
||||||
public static final String BODY_FORM_ACTION = "formAction";
|
public static final String BODY_FORM_ACTION = "formAction";
|
||||||
public static final String BODY_INFO_MESSAGE = "infoMessage";
|
public static final String BODY_INFO_MESSAGE = "infoMessage";
|
||||||
public static final String BODY_ERROR_MESSAGE = "errorMessage";
|
public static final String BODY_ERROR_MESSAGE = "errorMessage";
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
<form action="${formAction}" method="post">
|
<form action="${formAction}" method="post">
|
||||||
<label for="loginName">Email or Username</label>
|
<label for="loginName">Email or Username</label>
|
||||||
<input id="loginName" class="focus" name="loginName" type="text" value="${loginName}" />
|
<input id="loginName" class="focus" name="loginName" type="text" value="${username}" />
|
||||||
<label for="loginPassword">Password</label>
|
<label for="loginPassword">Password</label>
|
||||||
<input id="loginPassword" type="password" name="loginPassword" />
|
<input id="loginPassword" type="password" name="loginPassword" />
|
||||||
<input name="loginForm" type="submit" class="submit" value="Log in"/>
|
<input name="loginForm" type="submit" class="submit" value="Log in"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue