passwords can now contain spaces

This commit is contained in:
psychobunny
2014-08-26 15:05:42 -04:00
parent 6a4bcf8ab8
commit 4384958bf2

View File

@@ -139,7 +139,7 @@
}, },
isPasswordValid: function(password) { isPasswordValid: function(password) {
return typeof password === 'string' && password.length && password.indexOf(' ') === -1; return typeof password === 'string' && password.length;
}, },
isNumber: function(n) { isNumber: function(n) {