NIHVIVO-1963: modified error text for temp password change
This commit is contained in:
parent
4da578acda
commit
c9cf713fed
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue