NIHVIVO-1963: modified error text for temp password change

This commit is contained in:
tlw72 2011-01-31 21:38:29 +00:00
parent 4da578acda
commit c9cf713fed
2 changed files with 2 additions and 4 deletions

View file

@ -131,8 +131,7 @@ public class LoginProcessBean {
MLevel.ERROR);
public static final Message USING_OLD_PASSWORD = new Message(
"Please choose a different password from the "
+ "temporary one provided initially.", MLevel.ERROR);
"Your new password cannot match the current one.", MLevel.ERROR);
private final String format;
private final MLevel messageLevel;

View file

@ -379,8 +379,7 @@ public class AuthenticateTest extends AbstractTestClass {
doTheRequest();
assertProcessBean(FORCED_PASSWORD_CHANGE, NEW_DBA_NAME, NO_MSG,
"Please choose a different password from the temporary "
+ "one provided initially.", URL_LOGIN, URL_WITH_LINK);
"Your new password cannot match the current one.", URL_LOGIN, URL_WITH_LINK);
assertRedirectToLoginProcessPage();
}