summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console')
-rw-r--r--webapp/components/admin_console/password_settings.jsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/webapp/components/admin_console/password_settings.jsx b/webapp/components/admin_console/password_settings.jsx
index 2b0ea652f..68506fcfe 100644
--- a/webapp/components/admin_console/password_settings.jsx
+++ b/webapp/components/admin_console/password_settings.jsx
@@ -53,9 +53,10 @@ export default class PasswordSettings extends AdminSettings {
this.sampleErrorMsg = (
<FormattedMessage
id={sampleErrorMsgId}
- default='Your password must be at least {min} characters.'
+ default='Your password must contain between {min} and {max} characters.'
values={{
- min: (this.state.passwordMinimumLength || Constants.MIN_PASSWORD_LENGTH)
+ min: (this.state.passwordMinimumLength || Constants.MIN_PASSWORD_LENGTH),
+ max: Constants.MAX_PASSWORD_LENGTH
}}
/>
);
@@ -115,9 +116,10 @@ export default class PasswordSettings extends AdminSettings {
return (
<FormattedMessage
id={sampleErrorMsgId}
- default='Your password must be at least {min} characters.'
+ default='Your password must contain between {min} and {max} characters.'
values={{
- min: (minLength || Constants.MIN_PASSWORD_LENGTH)
+ min: (minLength || Constants.MIN_PASSWORD_LENGTH),
+ max: Constants.MAX_PASSWORD_LENGTH
}}
/>
);