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