Allow spaces in usernames by default

This commit is contained in:
Bryan Ashby 2016-09-01 23:39:49 -06:00
parent f4c041abdf
commit 9d46f23c66
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function getDefaultConfig() {
users : { users : {
usernameMin : 2, usernameMin : 2,
usernameMax : 16, // Note that FidoNet wants 36 max usernameMax : 16, // Note that FidoNet wants 36 max
usernamePattern : '^[A-Za-z0-9~!@#$%^&*()\\-\\_+]+$', usernamePattern : '^[A-Za-z0-9~!@#$%^&*()\\-\\_+ ]+$',
passwordMin : 6, passwordMin : 6,
passwordMax : 128, passwordMax : 128,