diff --git a/functions/index.js b/functions/index.js index c85ed1e45..8454751d4 100644 --- a/functions/index.js +++ b/functions/index.js @@ -62,7 +62,7 @@ function isUsernameValid(name) { if (name === null || name === undefined || name === "") return false; if (/miodec/.test(name.toLowerCase())) return false; if (/bitly/.test(name.toLowerCase())) return false; - if (name.length > 12) return false; + if (name.length > 14) return false; return /^[0-9a-zA-Z_.-]+$/.test(name); } diff --git a/public/js/account.js b/public/js/account.js index ac24d8413..d7dbc543d 100644 --- a/public/js/account.js +++ b/public/js/account.js @@ -111,7 +111,7 @@ function signUp() { return; } else if (d.data === -2) { showNotification( - "Name cannot contain special characters or contain more than 12 characters. Can include _ . and -", + "Name cannot contain special characters or contain more than 14 characters. Can include _ . and -", 8000 ); $(".pageLogin .preloader").addClass("hidden");