From fe01a9f15eba57f648f0ee41b1b4290c6ce5ec0f Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 24 Dec 2015 11:51:49 -0700 Subject: [PATCH] Additional max lengths for user properties --- core/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/config.js b/core/config.js index 9daa4e77..99572287 100644 --- a/core/config.js +++ b/core/config.js @@ -96,8 +96,16 @@ function getDefaultConfig() { usernameMin : 2, usernameMax : 16, // Note that FidoNet wants 36 max usernamePattern : '^[A-Za-z0-9~!@#$%^&*()\\-\\_+]+$', + passwordMin : 6, passwordMax : 128, + + realNameMax : 32, + locationMax : 32, + affilsMax : 32, + emailMax : 255, + webMax : 255, + requireActivation : true, // require SysOp activation? invalidUsernames : [],