From 4ecd79f9e64dd387b822a37873b8a1185c7af26e Mon Sep 17 00:00:00 2001 From: David Lu Date: Mon, 18 Jul 2016 11:13:30 -0400 Subject: Added default to max users per team (#3602) --- webapp/components/admin_console/password_settings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/admin_console/password_settings.jsx') diff --git a/webapp/components/admin_console/password_settings.jsx b/webapp/components/admin_console/password_settings.jsx index 6eacb6011..20de8580f 100644 --- a/webapp/components/admin_console/password_settings.jsx +++ b/webapp/components/admin_console/password_settings.jsx @@ -64,7 +64,7 @@ export default class PasswordSettings extends AdminSettings { getConfigFromState(config) { if (global.window.mm_license.IsLicensed === 'true' && global.window.mm_license.PasswordRequirements === 'true') { - config.PasswordSettings.MinimumLength = this.parseIntNonZero(this.state.passwordMinimumLength, 10); + config.PasswordSettings.MinimumLength = this.parseIntNonZero(this.state.passwordMinimumLength, Constants.MIN_PASSWORD_LENGTH); config.PasswordSettings.Lowercase = this.refs.lowercase.checked; config.PasswordSettings.Uppercase = this.refs.uppercase.checked; config.PasswordSettings.Number = this.refs.number.checked; -- cgit v1.2.3-1-g7c22