mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
passwords can now contain spaces
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user