diff --git a/public/src/utils.js b/public/src/utils.js index 84f9567927..28973b9c8d 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -139,7 +139,7 @@ }, isPasswordValid: function(password) { - return typeof password === 'string' && password.length && password.indexOf(' ') === -1; + return typeof password === 'string' && password.length; }, isNumber: function(n) {