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);
|
MLevel.ERROR);
|
||||||
|
|
||||||
public static final Message USING_OLD_PASSWORD = new Message(
|
public static final Message USING_OLD_PASSWORD = new Message(
|
||||||
"Please choose a different password from the "
|
"Your new password cannot match the current one.", MLevel.ERROR);
|
||||||
+ "temporary one provided initially.", MLevel.ERROR);
|
|
||||||
|
|
||||||
private final String format;
|
private final String format;
|
||||||
private final MLevel messageLevel;
|
private final MLevel messageLevel;
|
||||||
|
|
|
@ -379,8 +379,7 @@ public class AuthenticateTest extends AbstractTestClass {
|
||||||
doTheRequest();
|
doTheRequest();
|
||||||
|
|
||||||
assertProcessBean(FORCED_PASSWORD_CHANGE, NEW_DBA_NAME, NO_MSG,
|
assertProcessBean(FORCED_PASSWORD_CHANGE, NEW_DBA_NAME, NO_MSG,
|
||||||
"Please choose a different password from the temporary "
|
"Your new password cannot match the current one.", URL_LOGIN, URL_WITH_LINK);
|
||||||
+ "one provided initially.", URL_LOGIN, URL_WITH_LINK);
|
|
||||||
assertRedirectToLoginProcessPage();
|
assertRedirectToLoginProcessPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue