Additional max lengths for user properties

This commit is contained in:
Bryan Ashby 2015-12-24 11:51:49 -07:00
parent e8c8975f13
commit fe01a9f15e
1 changed files with 8 additions and 0 deletions

View File

@ -96,8 +96,16 @@ function getDefaultConfig() {
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,
realNameMax : 32,
locationMax : 32,
affilsMax : 32,
emailMax : 255,
webMax : 255,
requireActivation : true, // require SysOp activation? requireActivation : true, // require SysOp activation?
invalidUsernames : [], invalidUsernames : [],