* Fix 'newMark' -> 'newIndicator' in message list

* Better Telnet trace filter similar to SSH
This commit is contained in:
Bryan Ashby 2015-10-22 13:01:16 -06:00
parent e9836e18db
commit 4988559569
6 changed files with 38 additions and 7 deletions

View file

@ -33,6 +33,12 @@ function validateApplicationData(formData, cb) {
return;
}
var invalidNames = Config.users.newUserNames + Config.users.badUserNames;
if(invalidNames.indexOf(formData.value.username.toLowerCase()) > -1) {
cb('Handle is blacklisted!', [ 1 ] );
return;
}
if(isNaN(Date.parse(formData.value.birthdate))) {
cb('Invalid birthdate!', [ 3 ] );
return;