Add allowed character and email regex

This commit is contained in:
Vortrex
2021-04-28 21:26:12 -05:00
parent 4c39454119
commit d3e2190e2f

View File

@@ -54,6 +54,8 @@ function loadGlobalConfig() {
AG_ITEM_USETYPE_PEPPERSPRAY,
],
itemActionStateReset: 5000,
subAccountNameAllowedCharacters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
emailValidationRegex: /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
};
}