From 59d25b4c1abebcd1364bca74b5a6422c87f3f0da Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 11 Sep 2017 14:00:27 +0200 Subject: [PATCH] use camel case, not snek case --- customize.dist/application_config.js | 2 +- www/common/credential.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/customize.dist/application_config.js b/customize.dist/application_config.js index e2ea77a02..9cf29d565 100644 --- a/customize.dist/application_config.js +++ b/customize.dist/application_config.js @@ -49,7 +49,7 @@ define(function() { users. */ config.loginSalt = ''; - config.minimum_password_length = 8; + config.minimumPasswordLength = 8; config.badStateTimeout = 30000; diff --git a/www/common/credential.js b/www/common/credential.js index ffab595c1..8635bf6c4 100644 --- a/www/common/credential.js +++ b/www/common/credential.js @@ -5,8 +5,8 @@ define([ var Cred = {}; var Scrypt = window.scrypt; - Cred.MINIMUM_PASSWORD_LENGTH = typeof(AppConfig.minimum_password_length) === 'number'? - AppConfig.minimum_password_length: 8; + Cred.MINIMUM_PASSWORD_LENGTH = typeof(AppConfig.minimumPasswordLength) === 'number'? + AppConfig.minimumPasswordLength: 8; Cred.isLongEnoughPassword = function (passwd) { return passwd.length >= Cred.MINIMUM_PASSWORD_LENGTH;