use camel case, not snek case

pull/1/head
ansuz 7 years ago
parent 520b8967fd
commit 59d25b4c1a

@ -49,7 +49,7 @@ define(function() {
users.
*/
config.loginSalt = '';
config.minimum_password_length = 8;
config.minimumPasswordLength = 8;
config.badStateTimeout = 30000;

@ -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;

Loading…
Cancel
Save