Merge pull request #8 from matrix-org/babolivier/comment

Remove lying comment
master
Brendan Abolivier 5 years ago committed by GitHub
commit d8012f8ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,6 @@ let onResponse = function(response, success) {
submitButton.value = "Submit" submitButton.value = "Submit"
}; };
// We allow upper case characters here, but then lowercase before sending to the server
let allowedUsernameCharacters = RegExp("[^a-z0-9\\.\\_\\=\\-\\/]"); let allowedUsernameCharacters = RegExp("[^a-z0-9\\.\\_\\=\\-\\/]");
let usernameIsValid = function(username) { let usernameIsValid = function(username) {
return !allowedUsernameCharacters.test(username); return !allowedUsernameCharacters.test(username);

Loading…
Cancel
Save