Big Commit

This commit is contained in:
Vortrex
2021-05-06 01:29:46 -05:00
parent a4c1172df4
commit d58abe4287
20 changed files with 369 additions and 222 deletions

View File

@@ -1570,8 +1570,8 @@ function generateRandomPhoneNumber() {
function doesNameContainInvalidCharacters(name) {
for(let i = 0; i < name.length; i++) {
let strChar = totalCharacterCount.charAt(i);
if(getGlobalConfig().subAccountNameAllowedCharacters.indexOf(strChar) != -1) {
let strChar = name.charAt(i).toLowerCase();
if(getGlobalConfig().subAccountNameAllowedCharacters.toLowerCase().indexOf(strChar) == -1) {
return true;
}
}