Closed mmstick closed 2 years ago
I understand numbers are allowed in usernames, but not as the first character. 9db2146 doesn't allow a number until the third character. Is it supposed to allow it for the second character? (This also applies to underscores, periods, and dashes.)
I think it's because it's currently checking if text.str.length > 1
before deciding whether those characters should be allowed, and that would only be true if it's 2 or more. It should probably either be greater than or equal to 1, or greater than 0.
Closes #261