Allow spaces in usernames by default
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user